Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    Are you running openssh? If so what version?

  3. #3
    Just Joined!
    Join Date
    Aug 2008
    Location
    Seattle, WA
    Posts
    46
    Quote Originally Posted by Pimpntel View Post
    Are you running openssh? If so what version?
    SSH-2.0-Sun_SSH_1.2
    SSH-2.0-OpenSSH_4.3p2 Debian-9etch2
    and whatever comes with OpenBSD 4.3 (its not online right now)

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Sep 2008
    Location
    Earth
    Posts
    51
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •