Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone, I am trying out the ssh public authorization on my network. I have generated the ssh protocol 2 rsa public/private key pair, and upload the public key (id_rsa.pub) ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2007
    Location
    Cambridge, UK
    Posts
    1

    ssh public key authorization


    Hi everyone,

    I am trying out the ssh public authorization on my network.

    I have generated the ssh protocol 2 rsa public/private key pair, and upload the public key (id_rsa.pub) to the server that I want to ssh to.

    Do i need to change the name of the public key (id_rsa.pub --> my actually user name_rsa.pub) before i try out logging in from a client machine?

    Thanks for anyone looking and answering!

  2. #2
    Just Joined!
    Join Date
    Nov 2007
    Location
    Camp Pendleton
    Posts
    55
    Nope, the public key needs to go in ~/.ssh/authorized_keys. Also make sure to `chmod 0600 authorized_keys' or sshd will refuse to use it....

Posting Permissions

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