如何打开 telnet/ssh 到 Dlink DSL-225 路由器?

如何打开 telnet/ssh 到 Dlink DSL-225 路由器?

有 D-link DSL 225 路由器,位于 192.168.1.1,使用 nmap 我得到

PORT    STATE SERVICE
21/tcp  open  ftp
22/tcp  open  ssh
23/tcp  open  telnet
80/tcp  open  http
631/tcp open  ipp

当我尝试的ssh 192.168.1.1 I时候ssh_exchange_identification: read: Connection reset by peer

当我尝试时telnet 192.168.1.1,我得到了

Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
Connection closed by foreign host.

当我尝试时ftp 192.168.1.1,我得到了

Connected to 192.168.1.1.
421 Service not available, remote server has closed connection

在详细模式下

ssh 192.168.1.1 -v
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.1 [192.168.1.1] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/jobs/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
ssh_exchange_identification: read: Connection reset by peer

我如何打开该路由器的 telnet/ssh?

相关内容