I'm trying to SSH to our university server using VPN and WIFI connection.
The bug is similar to this one, although different in details.
The problem is as follows:
Me and my colleague are using Ubuntu 14.04 on two different laptops.
I can SSH to the server using his laptop and my SSH login details, but not with my laptop and my SSH login details. We are both using VPN connected to the same WIFI (eduroam) network and we are in the same office. Configuration files /etc/sysctl.conf and /etc/ssh/ssh_config are identical on both laptops. Both of us are using Cisco VPNC plugin, which is required to connect to our VPN network.
WIFI and VPN connections work fine on both laptops. Both laptops say that VPN is successfully established, and the lock appears on the WIFI icon on the top-right corner of the screen.
But when I try to ssh to the cluster from my laptop I get the following message:
ssh: connect to host “xxx” port 22: Connection timed out
More information which may be useful to describe the problem:
My laptop can ssh to the required server when it is connected via LAN to the local network, but again cannot connect to the cluster when it is connected via WIFI and VPN.
I can successfully ping to the server from my laptop while using WIFI connection, both with and without using VPN.
My colleague cannot ssh to the cluster using his SSH details and my laptop. He gets the same message port 22: Connection time out.
My laptop can successfully SSH to another server while using my WIFI (eudoram) connection. But this server is different from the one I want to SSH and it belongs to another university which does not require VPN.
I have tried to reinstall packages
openssh-client. None of these helped. Restarting did not help.
Starting Nmap 6.40 ( http://nmap.org ) at “xxx” Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn Nmap done: 1 IP address (0 hosts up) scanned in 3.06 seconds
nmap -Pn Gives:
Starting Nmap 6.40 ( http://nmap.org ) at “xxx” Nmap scan report for ... Host is up. All 1000 scanned ports on “xxx” are filtered Nmap done: 1 IP address (1 host up) scanned in 201.43 seconds
ssh -vvv “xxx” Gives
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 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 “xxx” [“xxx”] port 22. debug1: connect to address “xxx” port 22: Connection timed out ssh: connect to host “xxx” port 22: Connection timed out
What is wrong with the configuration of my Ubuntu?
What other configuration files (such as
/etc/ssh/ssh_config) can I compare with the files of my colleague's laptop to find out what is different?
How can I test that the VPN connection works apart from seeing the lock on the top-right corner indicating that the VPN is active?