ssh在debian鏈接遠程linux時,權限要設置一下。html
id_rsa文件要改爲600,linux
參考:Permissions 0644 for ‘/root/.ssh/id_rsa’ are too open處理shell
使用命令:ssh
ssh user@host -i id_rsa