have D-link DSL 225 router that locate at 192.168.1.1 , with nmap I get
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
80/tcp open http
631/tcp open ipp
when I tried ssh 192.168.1.1 I
get ssh_exchange_identification: read: Connection reset by peer
When I tried telnet 192.168.1.1
, I get
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
Connection closed by foreign host.
When I tried ftp 192.168.1.1
, I get
Connected to 192.168.1.1.
421 Service not available, remote server has closed connection
In verbose mode
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
How can I open telnet / ssh to this router?