Three machines has to get involved :
[My mac] —> [ Digital Ocean ] —> [UD server ]
My machine []
ssh -v -T -N -L localhost:59000:localhost:59000 [[email protected]](mailto:[email protected])
Digital Ocean [[email protected]]
# Will just be in the middel. No commands to be runing under
# this machine.
# Firewall with ssh open
UD server [[email protected]]
salehmak@r610:~$ ssh -f -N -T -R 59000:localhost:5901 [email protected]