04-18-2012
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I tried the following script to copy one file automatically:
#!/bin/csh -f
su - root -c "rcp 150.10.128.1:/export/home/sn408Xl/sn408Sol/$fn $fn
This works fine but is there a better way to copy remotely without entering the username and password? Moreover, after the file is copied a... (1 Reply)
Discussion started by: ilak1008
1 Replies
2. Shell Programming and Scripting
Hi
Please suggest me How I can Execute UNIX Scritp on Remote server.
Thanks
Sourabh (2 Replies)
Discussion started by: sourabhshakya
2 Replies
3. UNIX for Advanced & Expert Users
I would like to use SFTP from command line without entering userid and password.
Here is what I have gathered and did.
1) Create a public and private key pair for the protocol you want to use.
To create a key pair for use by SSH2, enter:
ssh-keygen -t dsa
I did that and got... (7 Replies)
Discussion started by: Hangman2
7 Replies
4. Shell Programming and Scripting
Hi All,
I need to first of all establish a connection to remote unix server non-interactively with the help of a shell script and then connect to oracle database from that server all with this script of mine.
Please suggest the best method which could be used to connect to server for executing... (1 Reply)
Discussion started by: m_kapur83
1 Replies
5. Shell Programming and Scripting
Hello All,
I'm new to unix and i need the below favour from you.
I have list of 50 unix server. I need to login to all the server one by one and with the same user and password. I will declare the user name and password globally in the script.
for example :
servername- hyperV
user name... (4 Replies)
Discussion started by: Hari A
4 Replies
6. Shell Programming and Scripting
I am unable to run the below script against a remote server due to syntax error (then unexpected), but i am able to run it locally. Am i executing it correctly or is there any other way to execute it.
ssh username@servernname ksh -s < scriptname
#!/bin/ksh
function record
{
((end =... (5 Replies)
Discussion started by: NarayanaPrakash
5 Replies
7. HP-UX
I am trying to connect to remote server in hp-ux, using sftp command (using sftp username@ip and password ) able to connect to remote server but, in this case sftp prompt for password and user need to manually enter it.
I want sftp can read a password define in script or from file, so it can... (1 Reply)
Discussion started by: ketanraut
1 Replies
8. Solaris
Hi All,
I am not able to get the command prompt after entering the login password on solaris server
Only access is through console.
Server type : sun4u sparc SUNW,Netra-T12
bsnl-north-in > ssh 10.147.17.207 jtoin
Connecting to 10.147.17.207 as user jtoin
Password:
Last login: Wed Mar 5... (1 Reply)
Discussion started by: sandeep_kmehra
1 Replies
9. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
10. Shell Programming and Scripting
Hello Every one!!
I am trying to write a shell script which will connect to a remote server and execute scripts which are at a certain path in the remote server.
Before this I am using a sudo command to change the user.
The place where I am stuck is, I am able to connect to the... (6 Replies)
Discussion started by: masubram
6 Replies
GFTP(1) General Commands Manual GFTP(1)
NAME
gftp - a graphical ftp client
SYNOPSIS
gftp [options] [[proto://][ user : [pass] @] site [: port ][/ directory ]]
DESCRIPTION
gFTP is a multiprotocol file transfer program for X Windows and the console. It features support for the FTP, SSH, HTTP, and local file
system protocols, simultaneous downloads, resuming of interrupted file transfers, file transfer queues, downloading of entire directores,
ftp and http proxy support, remote directory caching, bookmarks menu, stop button and many more features
OPTIONS
You may enter a url on the command line that gFTP will automatically connect to when it starts up.
--help, -h
Display program usage, and quit
--version, -v
This will display the current version of gFTP, and exit
--download, -d
This tells gFTP to download the files and directories specified in the url passed on the command line.
user This is the username that you will login as to the remote site. If no username is supplied, the default is to login as anonymous.
pass This is the password you will use to login to the remotesite. If you do not enter a password, then gFTP will ask you for one when it
starts up. I do not recommend entering your password on the command prompt. Anyone that has access to your machine will be able to
see your username and password with the ps(1) command. If you are logging in as anonymous, you do not need to pass a password since
gFTP will automatically send your email address as your password.
site This is the remote site you want to connect to
port This is the port that the remote server is listening on. If you do not enter a port, it will default to using the ftp port listed in
the services(5) file. If the entry doesn't exist there, it will default to port 21.
directory
This is the default directory to change to once you are connected to the remote server.
FILES
~/.gftp/gftprc
Per user configuration file. This file is commented very well, so that is why there isn't a manpage for it. Most of the options in
here can be set inside gFTP itself.
BUGS
If you find any bugs in gFTP, please report them directly to the author.
AUTHOR
Brian Masney <masneyb@gftp.org> - http://www.gftp.org/
FEBURARY 2001 GFTP(1)