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.
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.
相关文章推荐
- SSH的 The authenticity of host xxx.xxx.xxx.xxx can't be established. 问题
- python mysqldb 数据库插入中文 “"UnicodeEncodeError:'latin-1' codec can't encode character ..."”
- <s:if test="canSubscribe == 'Y'">能 </s:if> <s:else>不能 </s:else> 单字符需加.toString()
- ns2中can't read "debug_": no such variable类似问题
- php用mysql_query()调用存储过程后无法再执行sql报错:commands out of sync you can't run this command now
- About Derby "ERROR 42X51: The class '***' does not exist or is inaccessible. This can hap pen if the class is not public."
- python 处理中文时出现的错误'ascii' codec can't decode byte 0xe9 in position 0: ordinal not in range(128)" 解决方法
- ubuntu14.10下解决"ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"
- 重装系统后 mysql "can't create table errno 121"的解决
- 好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
- MySQL "You can't specify target table 'X' for update in FROM clause" 错误解决方法
- Commands out of sync; you can't run this command now
- ADB not responding. You can wait more,or kill"abd.exe" process manually and click 'Restart'
- 好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题
- onMouseOut="chanageButtonStyle(this, 'btn1');"
- ADB not responding. You can wait more,or kill"abd.exe" process manually and click 'Restar
- <s:if test="canSubscribe == 'Y'">能 </s:if> <s:else>不能 </s:else> 单字符需加.toString()
- mac 下载源码 most ports 报错误 Unable to execute port: can't read "build.cmd":
- td onmouseover="this.style.cursor='hand'" onmouseout="this.style.cursor='normal'" >小手状
- 解决mysql error:2014 Commands out of sync; you can't run this command now