-1

I apologize for the novice question, but have been struggling on this for many hours. I am running Ubuntu Server on Ubuntu 16.04. I can ssh fine into local host (thus know ssh server is running) enter image description here

However, when I try to log into my server externally, I get the error message shown below (yes I know port 22 is not secure): enter image description here

I have enabled port 22 on my /etc/ssh/sshd_config file and allowed the ListenAddress to be everything by leaving it empty (tried with other addresses), and ensured that my iptables are open: enter image description here

Finally, I am using a static IP address. And ensuring that I am forwarding ports: enter image description here

I am not including a port triggering as I do not believe that it is necessary?

What do I need to do to expose this server externally and be able to SSH into it? Any help is very much appreciated.

Avi Thaker
  • 455
  • 3
  • 10
  • I know that I can ping my IP address, and have restarted my router. – Avi Thaker Mar 13 '17 at 09:48
  • 1
    just curious, is internet access provided via router? If so, have you forward the ports on that? is it an ipv4 external address or ipV6? Ping will only show that the external address exists (assuming that the router is set to return them). It won't show that the forwarding is correct. – Ryan Vincent Mar 13 '17 at 09:49
  • Yes internet access is being provided via the router. Yes I have forwarded the ports on that. ipv4 external and static. I am able to ping the ip address with no problems. +Edit added static – Avi Thaker Mar 13 '17 at 09:58

1 Answers1

0

Solved, no responses required. My internal ip address that I had my port forwarding selected for was different than the internal ip address that my computer was on.

Avi Thaker
  • 455
  • 3
  • 10