The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Article Feedback - scp tricks
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 passwordless and non interactive use...
Author: Amit Chakradeo 
Date:   07-03-03 22:47

Hi,

scp uses ssh as its transport for copying files between different machines. You can set up RSA/DSA keys for passwordless login across hosts and then use scp without entering passwords, just like local cp. You can also make use of ssh-agent to achieve passwordless file copying.

-Amit

Reply To This Message
 
 Re: passwordless and non interactive use...
Author: Dan Langille 
Date:   10-03-03 14:10

For moreAmit Chakradeo wrote:
>
> scp uses ssh as its transport for copying files between
> different machines. You can set up RSA/DSA keys for
> passwordless login across hosts and then use scp without
> entering passwords, just like local cp. You can also make use
> of ssh-agent to achieve passwordless file copying.

For more on that, see <a href="/secure-file-copy.php">How to copy files around without anyone seeing them</a>.

Reply To This Message
 
 Re: passwordless and non interactive use...
Author: Eivind Eklund 
Date:   14-03-03 09:43

For working password-less, I highly recommend /usr/ports/security/safesh. This helps you maintain different credentials for different hosts, which avoids identity theft by the machines you connect to.

It should also automates key generation etc.

Feedback about it the program is welcome.

Eivind.

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org