05-14-2010
Nope. As already written, for this purpose you set up passwordless authentication by generating keys (ssh-keygen) without entering a password and add the public key of the machine that should be granted permission to it's ~/.ssh/authorized_keys. It is bad practice to use a passwords unencrypted inside files.
As said there are plenty guides on the web easy to find as well via the search function of this forum. Use the patterns "ssh passwordless authentication" on Google for example. This is the 1st hit I got:
SSH login without password
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies
2. Shell Programming and Scripting
Hi,
The Setup is like this. I'm connecting to Unix machine from my local machine. After connecting to Unix M/c, i need to connect FTP server. Am successful in connecting to FTP server, but am not able to download the file from the ftp server to my local machine. I have different user id's and... (1 Reply)
Discussion started by: ranjith_taurean
1 Replies
3. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
5. Shell Programming and Scripting
Hi,
Im creating a script that is supposed to run commands on remote server using sftp.
My script is as below:
#!/bin/ksh
sftp remote_server
mypassword
cd /u08/mydir/allfiles
mget *
..
But this is what I got when I runned the script:
Connecting to remote server...... (3 Replies)
Discussion started by: luna_soleil
3 Replies
6. UNIX for Advanced & Expert Users
Hi
How to copy a file from remote server and preserve timestamp. Please not, i have to pass username and password to connect to the remote server in the shell script.
Can this be achieved with simple ftp ? are there any options in ftp ?
Thanks (4 Replies)
Discussion started by: skumar75
4 Replies
7. Shell Programming and Scripting
There is a process which copy files form unix a to unix b
I would like to check whether all files copied from a to b or not ,and list which are the missing files.
Is there a command to check like that (3 Replies)
Discussion started by: lalitpct
3 Replies
8. Shell Programming and Scripting
hi,
can anyone tell me how can i store the names of a file that are in remote server to a file and then get the file that contains the name in local server?
there is a remote server where 5 files are present , say
a.txt
b.txt
c.txt
d.txt
e.txt
i want to write a script in my local... (4 Replies)
Discussion started by: Little
4 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
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
LEARN ABOUT REDHAT
cadaver
cadaver(1) User Manuals cadaver(1)
NAME
cadaver - A command-line WebDAV client for Unix.
SYNOPSIS
cadaver [-et][-V][-h] http://hostname[:port]/path
DESCRIPTION
cadaver supports file upload, download, on-screen display, namespace operations (move and copy), collection creation and deletion, and
locking operations.
Its operation is similar to the standard BSD ftp(1) client and the Samba Project's smbclient(1). A user familiar with these tools should
be quite comfortable with cadaver.
OPTIONS
-e, --expect100
Enable sending of `Expect: 100-continue' header.
-t, --tolerant
Allow cd/open into non-WebDAV enabled collection; use if the server or proxy server has WebDAV compliance problems.
-V, --version
Display version information and exit.
-h, --help
Display this help message and exit.
COMMAND REFERENCE
ls [path]
List contents of current [or other] collection
cd path
Change to specified collection
pwd Display name of current collection
put local [remote]
Upload local file
get remote [local]
Download remote resource
mget remote...
Download many remote resources
mput local...
Upload many local files
edit resource
Edit given resource
less remote...
Display remote resource through pager
mkcol remote...
Create remote collection(s)
cat remote...
Display remote resource(s)
delete remote...
Delete non-collection resource(s)
rmcol remote...
Delete remote collections and ALL contents
copy source... dest
Copy resource(s) from source to dest
move source... dest
Move resource(s) from source to dest
lock resource
Lock given resource
unlock resource
Unlock given resource
discover resource
Display lock information for resource
steal resource
Steal lock token for resource
showlocks
Display list of owned locks
propnames res
Names of properties defined on resource
chexec [+|-] remote
Change isexecutable property of resource
propget res [propname]
Retrieve properties of resource
propset res propname value Set property on resource
set [option] [value]
Set an option, or display options
open URL
Open connection to given URL
close Close current connection
quit Exit program
unset [option] [value]
Unsets or clears value from option.
lcd [directory]
Change local working directory
lls [options]
Display local directory listing
lpwd Print local working directory
logout Logout of authentication session
help [command]
Display help message
EXAMPLES
cadaver http://dav.example.com/
Connects to the server myserver.example.com, opening the root collection.
cadaver http://zope.example.com:8022/Users/fred/
Connects to the server zope.example.com using port 8022, opening the collection "/Users/fred/".
cadaver https://secure.example.com/
Connects to a server called secure.example.com using SSL.
FILES
~/.cadaverrc
Individual user settings that can override cadaver defaults.
AUTHOR
Joe Orton <cadaver@webdav.org>
SEE ALSO
ftp(1), smbclient(1)
Unix January 2002 cadaver(1)