Building a point-to-point VPN (SSH tunnel) in one line

Ángel Ortega

The magic incantation:

pppd noauth 192.168.33.1:192.168.33.2 \
     pty 'ssh root@REMOTE_HOST pppd notty noauth'

The remote host needs a passwordless authorized key.