我试着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固件。