ssh 私钥错误

错误:

ssh [email protected]  -i id_rsa
Load key "id_rsa": Permission denied

解决:

windows

icacls "id_rsa" /inheritance:r
icacls "id_rsa" /grant "%USERNAME%":R

Linux

chmod 600 id_rsa

你可能感兴趣的:(Linux,ssh,linux,服务器,id_rsa,权限错误)