Linux.com

Home Learn Linux Linux Answers Applications Can a shared home folder contain both the .ssh/authorized_keys and .ssh/id_rsa and .ssh/id_rsa.pub?
Answers
  • I do this daily with the latest red hat and fedora updates so I don't believe anything has changed in ssh. Permissions issues on the files are more likely to cause issue. If you make sure all of these files have permissions on 600 you should be fine in that regard.

    You should also be able to see the cause of the issue by looking in /var/log/messages on the server you are logging into and searching for messages from sshd at the time you logged in.

    I hope this helps,

    James

    Answered by alcock.james@gmail.com
    6 years ago
    0 2
  • [quote name="James Alcock"]IPermissions issues on the files are more likely to cause issue. If you make sure all of these files have permissions on 600 you should be fine in that regard. [/quote]

    James, I think that was it. I was changing permissions on my home folder for an entirely unrelated issue and I noticed ssh now suddenly works the way it used to. So it looks like permissions fixed it!

    Answered by shadowland
    6 years ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Applications

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board