Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Kubuntu_laptop--->nat_fw--->Debian_Server<--nat_fw<--Kubuntu_desktop
- Debian_Server<--nat_fw<--Kubuntu_desktop
- autossh -M 5234 -N -f -R 1234:localhost:22 user@mydebian.com -p 22
- Kubuntu_laptop--->nat_fw--->Debian_Server
- tester@Kubuntu_desktop:~> autossh -M 5234 -i ~/.ssh/my_id_rsa -fNR 1234:localhost:5901 user@mydebian.com
- tester@Kubuntu_desktop:~> x11vnc -autoport 5901
- sudo ssh -NL 5901:localhost:1234 -i ~/.ssh/admin_id_rsa admin@mydebian.com
- localhost:5901
- -fNR [remoteIP:]remotePort:localIP:localPort
- -fNR 1234:localhost:5900
Add Comment
Please, Sign In to add comment