I was able to set up a small PPTP VPN with a Server and two clients. All machines run Ubuntu 14.04.
The connection works great and is reliable. I can ping all machines from everywhere. Also HTTP access from the browser works flawless.
However I'm not able to SSH from any machine to any other machine.
I have not installed any custom firewall rules, since the entire setup is behind external firewalls.
I would appreciate any hint how to enable SSH over PPTP.
Thanks!
Update
I enabled logging on the client by calling ssh -v myuser@10.0.0.1
and on the server by changing the following two lines in /etc/ssh/sshd_config
:
# Logging
SyslogFacility DAEMON
LogLevel DEBUG
I can see in the log files that a connection can be established. However the process always get stuck somewhere along the way:
Client log
debug1: Connecting to 10.0.0.1 [10.0.0.1] port 22.
debug1: Connection established.
...
debug1: SSH2_MSG_KEXINIT sent
Server log
Aug 28 02:21:53 lemaker sshd[2130]: Connection from 10.0.0.11 port 60666 on 10.0.0.1 port 22
...
debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
This is where the connection get stuck for a minute or so, before they disconnect.