[TriLUG] SSH Memory

Thomas C. Meggs tom at plik.net
Tue Dec 10 13:58:07 EST 2002


SSH doesn't remember passwords per se, but by using public/private key 
encryption you can authenticate without a password. Here are the steps:

- Ensure that the line RSAAuthentication says 'yes' in your sshd_config 
file on the server.
- Create keys using ssh-keygen for your user that is running the scp 
command.
- Copy the public key you just generated (in something like 
~/.ssh/identity.pub) on to the remote server and place it in the 
~/.ssh/authorized_keys (or ~/.ssh/authorized_keys2 for SSH2) file.

And you should be good.

Regards,
Tom

John Warf wrote:

> I am trying to set up some automated backups from one computer to another.
> I have to move the data securely.  I know there is a way to do this 
> but I am
> not quite sure how to do it the way I want to.  I would like to scp 
> the data
> from one machine to the other.  I don't want to type in the password b/c I
> would like to make the whole thing a cron job.  I know there is a way to
> make the computer remember passwords for certain users can any one be 
> of any
> assistance.
>
> Thanks
>
> John
>
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/~lovelace/faq/TriLUG-faq.html






More information about the TriLUG mailing list