免秘执行:如果需要密码则输出提示消息,而不是让你输入密码。
]$ ssh -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no 10.32.113.44 'date' Warning: Permanently added '[10.32.113.44]:58422' (RSA) to the list of known hosts. Permission denied (publickey,password).
选择阅读主题色
免秘执行:如果需要密码则输出提示消息,而不是让你输入密码。
]$ ssh -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no 10.32.113.44 'date' Warning: Permanently added '[10.32.113.44]:58422' (RSA) to the list of known hosts. Permission denied (publickey,password).