Find the answer to your Linux question:
Results 1 to 3 of 3
Hi there, I have two computers (A and B), both running FC9. Now I need to enable them to ssh login each other without inputting password. The procedures instructed by ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    3

    FC9 Passwordless SSH login


    Hi there,

    I have two computers (A and B), both running FC9. Now I need to enable them to ssh login each other without inputting password.

    The procedures instructed by the following links has been done:
    SSH login without password

    It is very weird that A can login B but B cannot do the same thing to A - every time, it asks password. And B can passwordless ssh other machines.

    Can anybody help me with that? thanks a lot.

  2. #2
    Linux User
    Join Date
    Jun 2007
    Posts
    318
    Wrong permissions is a common problem. On server A make sure directory .ssh and everything in it is owned by the user. Then make sure:

    Directory .ssh has permissions 700.
    All files in .ssh have permissions 600

    If that doesn't fix it, then use the -v option with the ssh command to see if it provides any usefel information.

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Location
    South West England
    Posts
    91
    Make sure A's .ssh/authorized_keys has the public key of B, .ssh/id_rsa.pub, and has permissions 600.
    Make sure B's .ssh/authorized_keys has the public key of A, .ssh/id_rsa.pub, and has permissions 600.

    All should work fine.

  4. $spacer_open
    $spacer_close

Posting Permissions

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