Having trouble with ssh and authorized_keys

[亡魂溺海] 提交于 2019-12-06 16:39:00

Common causes of failure to authenticate with keys:

  • permissions or ownership on ~/.ssh are not set properly (I see you've checked those)
  • the public key is corrupt
  • the public key is for a different key than the private key

Check also the server's auth.log.

That you're able to log in as Mike is a real stumper. You might try making an authorized_keys2 file. authorized_keys doesn't work on all versions of OpenSSH.

ln -s authorized_keys authorized_keys2
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!