logging RSA key identity
one of the machines I manage has RSA-keys set up to allow employees to log in as root. its set up to log the identity of the key instead of the hash (the username@host after the == at the very end)
I'm curious as to how to set that kind of thing up on my own machines. can generic syslog do that? I have machines running the Sun syslogd and the GNU syslogd.
Are you running openssh? If so what version?
Originally Posted by Pimpntel
and whatever comes with OpenBSD 4.3 (its not online right now)
1. enter ~.ssh2 and touch authorized_keys
2. ssh-keygen " this will create your private and public key "
3 place all allowed keys in your authorized_keys file via cat >> "key.pub" authorized_keys
** As long as the remote machine has that public key, you will be able to auth to the box with out a password. ***
Make sure you generate your key as the user that is your source to avoid an issue with (the username@host after the == at the very end).
Try it out let me know how it goes, if it does not work send me your error.