[nflug] backups on an nfs server

Darin Perusich Darin.Perusich at cognigencorp.com
Fri Aug 4 13:41:50 EDT 2006


from one of my cheat sheets...

--------------------------
ssh login with NO password
--------------------------

to access/logon a system using ssh without being prompted for a password
we need to generate ssh keys as that user, see SSH-KEYGEN(1) for
detailed info.

log into the systems you wish to access with entering a password.
generate ssh keys. there are differect types of key's that can be
generated, if the systems is using ssh protocol 1 or 2 there will be
different keys. you can also employ different type a keys for the
differenc protocol versions, des, rsa, etc. see the man page for a
breakdown.

        system1:> ssh-keygen -t rsa  (ssh protocol version 2)

*** IMPORTANT **
do NOT enter a password/passphrase if you want uninterupted login's
*** IMPORTANT **

this will create multiply files, id_rsa and id_rsa.pub for version 2,
and identity and identity.pub for version 1. on the remote system in the
users .ssh folder create an authorized_keys2 and copy the contents of
id_rsa.pub into it for protocol version 2, authorized_keys gets the
contents of identity.pub for protocol version 1.

test by ssh'ing to the remote system.


eric wrote:
> is it proper to automate a ssh login?
> 
> 

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
darinper at cognigencorp.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list