It's pretty simple, ssh-keygen on both sides, then cat the resulting text files into the others 'authorized_keys' file.Yes, I'm already doing this, but I like to have a passphrase on my dsa_key... For my normal login, I run the ssh-agent and supply the passphrase at every login (only once a week or so). That key.pub is distributed to all the machines I log into, but is only stored unencrypted in memory after I supply the passphrase. I would like an automated backup to connect to that agent and use the key that's passphrase-protected.
More detail here: http://www.brandonhutchinson.com/Passwordless_ssh_logins.html
It should only take about 5 minutes to setup.... :)
Hope that makes sense. It's quite possible that what I'm trying to do is stupid and I'd realize it if I thought all the way through it. All I know is if I type 'backup_script" logged in normally, I've got my passphrase-protected key exchange that doesn't require a password. If I put it in a script, notsomuch.
-Cory
************************************************************************* * Cory Papenfuss * * Electrical Engineering candidate Ph.D. graduate student * * Virginia Polytechnic Institute and State University * *************************************************************************
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
