[TriLUG] ssh command line

Alan Porter porter at trilug.org
Tue Aug 26 08:05:14 EDT 2008


Also remember that you do not have to use the STANDARD keys
(/root/.ssh/id_rsa) for sn SSH transaction.

For example, I created a special "back up my trilug account" key just
for one purpose. I store the private key on my machine at home, and the
public key on my trilug account's $HOME/.ssh/authorized_keys. When I run
the backup, I do this:

rsync -e "ssh -i keys/trilug-backup.pri" -xavz --delete --numeric-ids
--bwlimit=25 porter at login.trilug.org:./ trilug/

So my "user" or "root" keys never have to be distributed. I use a
single-purpose key instead.

Alan




.





More information about the TriLUG mailing list