您的位置:首页 > 其它

Can't ssh out : Fixing "Permission denied (publickey,password,keyboard-interactive)."

2011-10-10 22:27 477 查看
Suppose you're on a relatively secure Linux box and receive the following message when trying to ssh out interactively (no keys) :

Permission denied (publickey,password,keyboard-interactive).

Here's one possible solution :

Check the /etc/ssh/ssh_config (client ssh) file and see if it contains this :

PasswordAuthentication no

If so, change it to the following :

PasswordAuthentication yes

Now try your interactive ssh session -- you shouldn't need to restart a service or anything else.

Of course, you need to be careful with what you're doing as you're increasing the risk profile of your machine a bit.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐