nottheendmerelybeginning 0 Posted ... When I run the .sh script in terminal, here's the log: ./AirVPN_DE-Seginus_SSH-53.sh AirVPN SSH Tunnel OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: /etc/ssh_config line 53: Applying options for * debug1: Connecting to 178.162.198.110 [178.162.198.110] port 53. debug1: Connection established. debug1: identity file sshtunnel.key type -1 debug1: identity file sshtunnel.key-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.2 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.0p1 Debian-4+deb7u2 debug1: match: OpenSSH_6.0p1 Debian-4+deb7u2 pat OpenSSH* debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA ef:32:99:4d:f3:5b:bc:82:eb:70:16:bb:ad:80:82:53 debug1: Host '[178.162.198.110]:53' is known and matches the RSA host key. debug1: Found key in /Users/XXXXX/.ssh/known_hosts:23 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Trying private key: sshtunnel.key debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). Authenticated to 178.162.198.110 ([178.162.198.110]:53). debug1: Local connections to LOCALHOST:1412 forwarded to remote address 127.0.0.1:2018 debug1: Local forwarding listening on ::1 port 1412. bind: Address already in use debug1: Local forwarding listening on 127.0.0.1 port 1412. bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 1412 Could not request local forwarding. debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: Remote: Pty allocation disabled. debug1: Remote: X11 forwarding disabled. debug1: Remote: Forced command. debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA ef:32:99:4d:f3:5b:bc:82:eb:70:16:bb:ad:80:82:53 debug1: Host '[178.162.198.110]:53' is known and matches the RSA host key. debug1: Found key in /Users/XXXX/.ssh/known_hosts:23 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Trying private key: sshtunnel.key debug1: read PEM private key done: type RSA debug1: Authentication succeeded (publickey). Authenticated to 178.162.198.110 ([178.162.198.110]:53). debug1: Local connections to LOCALHOST:1412 forwarded to remote address 127.0.0.1:2018 debug1: Local forwarding listening on ::1 port 1412. bind: Address already in use debug1: Local forwarding listening on 127.0.0.1 port 1412. bind: Address already in use channel_setup_fwd_listener: cannot listen to port: 1412 Could not request local forwarding. debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: Remote: Pty allocation disabled. debug1: Remote: X11 forwarding disabled. debug1: Remote: Forced command. When I run the openvpn command afterward in a different window, this is the result: sudo ./openvpn "AirVPN_DE-Seginus_SSH-53.ovpn" Password: Sat Sep 6 11:28:53 2014 OpenVPN 2.3.4 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [PKCS11] [MH] [IPv6] built on Sep 1 2014 Sat Sep 6 11:28:53 2014 library versions: OpenSSL 1.0.1i 6 Aug 2014, LZO 2.08 Sat Sep 6 11:28:53 2014 Control Channel Authentication: tls-auth using INLINE static key file Sat Sep 6 11:28:53 2014 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Sat Sep 6 11:28:53 2014 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Sat Sep 6 11:28:53 2014 Socket Buffers: R=[131072->65536] S=[131072->65536] Sat Sep 6 11:28:53 2014 Attempting to establish TCP connection with [AF_INET]127.0.0.1:1412 [nonblock] Sat Sep 6 11:28:54 2014 TCP connection established with [AF_INET]127.0.0.1:1412 Sat Sep 6 11:28:54 2014 TCPv4_CLIENT link local: [undef] Sat Sep 6 11:28:54 2014 TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:1412 Any ideas? Quote Share this post Link to post
In*the*AIR 1 Posted ... I tried it now and it is working, maybe that day the Seginus server was having problems.Or ssh was already running, check with the activity monitor (in Applications/Utilities/Activity Monitior)look in the Network tab for the "ssh" process and kill it, then try again to connect the way you did previously. Quote Share this post Link to post