|
|
Fix broken SSH Public Key Authentication
Simply doing a chmod g-w will only fix one type of permssion problem that sshd may have. Since nobody has posted the correct permissions and how to set them, that information is as follows:
chmod 755 ~ chmod 700 ~/.ssh Should you encounter sshd issues in the future, a much easier solution to discovering why sshd isn't playing nice is to watch the log file: sudo tail -F /var/log/secure.log and then attempt to log in. If there's a problem, sshd will tell you what it is. Finally, using ssh keys without passwords is a poor practice. If someone is able to get your private key, they now have access to all the systems you have installed the public key on. There are several good ways to use ssh-agent on your mac, which relieves the burden of typing your password in every time you authenticate. I've even got a ssh-agent startup script for Mac OS that makes it quite painless.
Fix broken SSH Public Key Authentication
Ah, thanks for the tip, matt! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.48 seconds |
|