Hey,
i am trying to connect to my router RT-AC66U (firmware 380.68_2) via ssh. But something goes wrong. My router has IP address: 192.168.1.1, my computer 192.168.1.3
If i use command ssh -vvv username@192.168.1.1
OpenSSH_7.4p1 Ubuntu-10, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/RCV/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "192.168.1.1" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.1.1 [192.168.1.1] port 22.
Then it hangs out for a minute or so and after this i get:
In router, I do not see any information in log messages.
Parameters for ssh server on router are following:
I tried all combinations of these parameters. Nothing works.
It is also worth to note that i can ping the router
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=18.2 ms
^C
--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.555/9.909/18.263/8.354 ms
However i cannot use traceroute:
I also tried nmap -sV 192.168.1.1.
I get:
.....
Could you help me to connect my computer to the router via ssh?
i am trying to connect to my router RT-AC66U (firmware 380.68_2) via ssh. But something goes wrong. My router has IP address: 192.168.1.1, my computer 192.168.1.3
If i use command ssh -vvv username@192.168.1.1
OpenSSH_7.4p1 Ubuntu-10, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /home/RCV/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "192.168.1.1" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 192.168.1.1 [192.168.1.1] port 22.
Then it hangs out for a minute or so and after this i get:
debug1: connect to address 192.168.1.1 port 22: Connection timed out
ssh: connect to host 192.168.1.1 port 22: Connection timed out
ssh: connect to host 192.168.1.1 port 22: Connection timed out
In router, I do not see any information in log messages.
Parameters for ssh server on router are following:
Enable SSH Lan Only
Allow SSH Port Forwarding Yes
SSH service port 22
Allow SSH password login Yes
Enable SSH Brute Force Protection Yes
SSH Authentication key
Allow SSH Port Forwarding Yes
SSH service port 22
Allow SSH password login Yes
Enable SSH Brute Force Protection Yes
SSH Authentication key
I tried all combinations of these parameters. Nothing works.
It is also worth to note that i can ping the router
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.55 ms64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=18.2 ms
^C
--- 192.168.1.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.555/9.909/18.263/8.354 ms
However i cannot use traceroute:
traceroute 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
I also tried nmap -sV 192.168.1.1.
I get:
PORT STATE SERVICE VERSION
22/tcp filtered ssh
53/tcp open domain dnsmasq 2.76
80/tcp open http httpd/2.0
139/tcp filtered netbios-ssn
443/tcp open ssl/http lighttpd 1.4.39
445/tcp filtered microsoft-ds
515/tcp open printer?
8081/tcp open http lighttpd 1.4.39
8082/tcp open http lighttpd 1.4.39
8200/tcp open upnp MiniDLNA 1.2.0 (OS: 378.xx; DLNADOC 1.50; UPnP 1.0)
9100/tcp open jetdirect?
9998/tcp open tcpwrapped
22/tcp filtered ssh
53/tcp open domain dnsmasq 2.76
80/tcp open http httpd/2.0
139/tcp filtered netbios-ssn
443/tcp open ssl/http lighttpd 1.4.39
445/tcp filtered microsoft-ds
515/tcp open printer?
8081/tcp open http lighttpd 1.4.39
8082/tcp open http lighttpd 1.4.39
8200/tcp open upnp MiniDLNA 1.2.0 (OS: 378.xx; DLNADOC 1.50; UPnP 1.0)
9100/tcp open jetdirect?
9998/tcp open tcpwrapped
.....
Could you help me to connect my computer to the router via ssh?