Guest User

Untitled

a guest
Apr 25th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. Kubuntu_laptop--->nat_fw--->Debian_Server<--nat_fw<--Kubuntu_desktop
  2.  
  3. Debian_Server<--nat_fw<--Kubuntu_desktop
  4.  
  5. autossh -M 5234 -N -f -R 1234:localhost:22 user@mydebian.com -p 22
  6.  
  7. Kubuntu_laptop--->nat_fw--->Debian_Server
  8.  
  9. tester@Kubuntu_desktop:~> autossh -M 5234 -i ~/.ssh/my_id_rsa -fNR 1234:localhost:5901 user@mydebian.com
  10.  
  11. tester@Kubuntu_desktop:~> x11vnc -autoport 5901
  12.  
  13. sudo ssh -NL 5901:localhost:1234 -i ~/.ssh/admin_id_rsa admin@mydebian.com
  14.  
  15. localhost:5901
  16.  
  17. -fNR [remoteIP:]remotePort:localIP:localPort
  18.  
  19. -fNR 1234:localhost:5900
Add Comment
Please, Sign In to add comment