So the problem is the following. I have to work from home due to isolation, and I need to remote control my desktop computer in my office through ssh.
My desktop computer runs ubuntu 18.04, has openssh client and server installed and this is the output of ifconfig (i am including the data i think relevant, x1 and x2 are just placeholders):
docker0: .... .... eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.128.67.196 netmask 255.255.0.0 broadcast 10.128.255.255 ..... ..... lo: .... .... To make things more painful my home laptop runs windows 10, so things are even more inconsistent and i cannot use an array of tools available with ubuntu. Now, my uni has an internal network ofc, and with my limited amount of knowledge about networks I did some tests.
-so if I try to connect from a desktop pc internal to the uni (connected by cable) i can just ssh into my pc without too many problem by going:
ssh 10.128.67.196 -I have connected from my desktop to the supercomputer we usually use, which i suppose it will be in a "trusted list" of the uni via: ssh supercomputer_address ->And everything runs fine
-If I ssh into the supercomputer FROM my desktop, I can ping my desktop pc, but i CANNOT ssh back into my desktop, or it prompt the error:
ssh: connect to host 10.128.67.196 port 22: No route to host Now, I double checked that port 22 is open on my desktop pc, infact if i type:
sudo netstat -lpn |grep :22 I get:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1311/sshd tcp6 0 0 :::22 :::* LISTEN 1311/sshd I also doublecheked that it's not a firewall problem, as my firewall is currently disabled If i type : sudo ufw status i get -> Status: Inactive
-If I try to ping my desktop machine from my laptop using putty and :
ping 10.128.67.196 i get -> Request timed out
-If I try to ping my desktop machine from outside the uni network USING CISCO ANYCONNECT WITH MY UNI VPN, or even from a laptop connected to the wifi network of the university, but not connected by cable with:
ping 10.128.67.196 I get -> Request timed out
There has to be something easy that i am ignoring and that is making me crazy, can anyone help please?
ip routetell you? lots of routes including one for 10.128.0.0 or just a very few?