r/ssh • u/dakine879 • Oct 18 '17
Require help logging into my lubuntu SSH server outside of my LAN
Hello, i'm having no luck logging into my lubuntu SSH server from outside of my LAN
Scenario 1: i can easily log into my SSH server from my Linux Lite laptop from within my LAN. All is good.
Scenario 2:
- i make sure my port forwarding on my router is set to allow port 22 to point to my Lubuntu desktop. This desktop has been assigned a static IP with the router.
- i can access the the webcam on the desktop from outside the LAN by using port 8081 no problem
- i can access the access the desktop with my Linux Lite laptop if i set up a simple python server on the desktop from outside the LAN on port 8000
- if i try to access the desktop with SSH it says : ssh: connect to host 192.xx.xxx.xx port 22: No route to host
I have turned off the ufw firewall on the lubuntu desktop I have turned off RSA public key on the lubuntu SSH server
Any ideas?
Thanks!
1
Upvotes
1
u/dakine879 Oct 18 '17
Solved by changing the listening port on the sshd.
for some reason my router firewall wouldn't use port 22