Results 1 to 4 of 4
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 ...
- 09-04-2008 #1Just Joined!
- Join Date
- Aug 2008
- Location
- Seattle, WA
- Posts
- 46
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.
thanks,
-rb
- 09-09-2008 #2Just Joined!
- Join Date
- Sep 2008
- Location
- Canada
- Posts
- 14
Are you running openssh? If so what version?
- 09-09-2008 #3Just Joined!
- Join Date
- Aug 2008
- Location
- Seattle, WA
- Posts
- 46
- 09-09-2008 #4Just Joined!
- Join Date
- Sep 2008
- Location
- Canada
- Posts
- 14
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.


Reply With Quote

