Running Ubuntu 12.04, I've set up the OpenSSH server. I can connect from within LAN, but not from outside. I am using the same
sshd_config file as on my other Ubuntu 12.04 machines (that sit in a different LAN).
$ ssh 192.168.0.2
works fine, but
$ ssh 184.108.40.206
(made up IP address) does not work. Nothing happens. No error message, or anything. The prompt just sits there.
Using the option
-vvv, I get the following:
$ ssh -vvv 220.127.116.11 OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 18.104.22.168 [22.214.171.124] port 22. debug1: Connection established. debug1: identity file /home/myname/.ssh/id_rsa type -1 debug1: identity file /home/myname/.ssh/id_rsa-cert type -1 debug1: identity file /home/myname/.ssh/id_dsa type -1 debug1: identity file /home/myname/.ssh/id_dsa-cert type -1 debug1: identity file /home/myname/.ssh/id_ecdsa type -1 debug1: identity file /home/myname/.ssh/id_ecdsa-cert type -1
And then the prompt just sits there.
Further debug information from
$ grep sshd /var/log/auth.log [cutting old lines...] Jul 6 10:23:05 mymachine sshd: Did not receive identification string from 126.96.36.199
I am allowing any user to connect, in particular my own username. What confuses me is that I have not had this problem on any other machine, although they are on a different lan. This lan has only one computer attached to it. Any ideas of how to proceed from here?