I've successfully VPNed to my University server on a Fedora 17 Linux terminal.$ sudo openconnect -u UNIVERSITY_USERNAMEID sslvpn.nameofuniversity.edu[sudo] password for PCUSERNAME: Attempting to connect to xxx.xxx.xxx.xxx:xxxSSL negotiation with sslvpn.nameofuniversity.eduConnected to HTTPS on sslvpn.nameofuniversity.eduGET https://sslvpn.nameofuniversity.edu/Got HTTP response: HTTP/1.0 302 Object MovedSSL negotiation with sslvpn.nameofuniversity.eduConnected to HTTPS on sslvpn.nameofuniversity.eduGET https://sslvpn.nameofuniversity.edu/+webvpn+/index.htmlPlease enter your username and password.Password:POST https://sslvpn.nameofuniversity.edu/+webvpn+/index.htmlGot CONNECT response: HTTP/1.1 200 OKCSTP connected. DPD 30, Keepalive 0Connected tun0 as xxx.xx.xx.xx, using SSLAfter this, I opened a new terminal and executed an ssh command which normally works when I'm on campus.I get the following output on the terminal:# ssh -vvv -Y UNIVERSITY_USERNAMEID@serverOpenSSH_5.9p1, OpenSSL 1.0.0j-fips 10 May 2012debug1: Reading configuration data /etc/ssh/ssh_configdebug1: /etc/ssh/ssh_config line 50: Applying options for *debug2: ssh_connect: needpriv 0debug1: Connecting to server [xxx.xxx.xx.xx] port 22.debug1: Connection established.debug1: permanently_set_uid: 0/0debug1: identity file /root/.ssh/id_rsa type -1debug1: identity file /root/.ssh/id_rsa-cert type -1debug1: identity file /root/.ssh/id_dsa type -1debug1: identity file /root/.ssh/id_dsa-cert type -1ssh_exchange_identification: Connection closed by remote hostTo no avail, I've appended the following to file /etc/hosts.allowSSHD: ALLSSHD: .nameofuniversity.edu : allSSHD: ipaddress : allWhat can be wrong here?
Can't SSH via password to a Remote Server
linux;ssh;vpn