通道0上的PTY分配请求失败

时间:2017-05-30 01:54:07

标签: ssh openwrt ssh-keygen

我试着ssh我的路由器。它首先显示:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
0e:82:bb:f1:3a:7f:1f:0d:3f:2d:26:dc:0d:81:61:6c.
Please contact your system administrator.

然后我ssh-keygen -R 192.168.0.1(路由器IP)。在那之后,我再次ssh。但是,输入密码后,会显示:

PTY allocation request failed on channel 0
shell request failed on channel 0

我在stackoverflow中尝试了几种方法,但都失败了。我的路由器是TP-Link N750,带有编译的openwrt固件。

1 个答案:

答案 0 :(得分:0)

遗憾的是,路由器中的 SSH 访问权限仅为 TPLink manufacturer apps 保留。