nvdkgm
March 21st, 2011, 11:05 PM
I know someone has probably asked this question before but I will again.
Why am I getting port 22 connection refused?
I have a Ubuntu desktop and laptop that has OpenSSH Client and Server installed. I want the desktop to be the host and have set the desktop local IP or network address to be static and set a port forwarding rule on the router that public IP to local static IP on port 22 to 22 for TCP and UDP. I figure port 22 is opened when needed and closed otherwise, I could be wrong. I do not know about firewall setting but when I checked "iptables --list" it shows all as Accept. Both computers ssh 127.0.0.1 fine with both client and server installed.
Both computers are on in the local network and I am trying to ssh from the laptop to the desktop.
What is the missing step?
Why am I getting port 22 connection refused?
I have a Ubuntu desktop and laptop that has OpenSSH Client and Server installed. I want the desktop to be the host and have set the desktop local IP or network address to be static and set a port forwarding rule on the router that public IP to local static IP on port 22 to 22 for TCP and UDP. I figure port 22 is opened when needed and closed otherwise, I could be wrong. I do not know about firewall setting but when I checked "iptables --list" it shows all as Accept. Both computers ssh 127.0.0.1 fine with both client and server installed.
Both computers are on in the local network and I am trying to ssh from the laptop to the desktop.
What is the missing step?