Guest User

Untitled

a guest
Sep 22nd, 2017
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo ssh -p60022 -i ~/.ssh/id_rsa -L 127.0.1.1:139:192.168.0.4:139 me@homeserver.ip
  2.  
  3. smb://127.0.1.1
  4.  
  5. ssh -qD8081 -i ~/.ssh/id_rsa my.home.ip
  6.  
  7. Host homeproxy
  8. ServerAliveInterval 60
  9. HostName my.home.ip.address
  10. DynamicForward 8081
  11. User my_username
  12. Port 60022
  13. IdentityFile ~/.ssh/id_rsa
  14.  
  15. ssh homeproxy
  16.  
  17. Host homenas
  18. HostName my.home.ip.addr
  19. Port 60022
  20. User van
  21. IdentityFile ~/.ssh/id_rsa
  22. LocalForward 127.0.1.10:445 192.168.0.123:445
  23.  
  24. 127.0.1.10 homenas
  25.  
  26. sudo ssh -i ~/.ssh/id_rsa -F ~/.ssh/config homenas
  27.  
  28. smb://homenas
  29.  
  30. Host homeserver
  31. ServerAliveInterval 60
  32. HostName my.home.ip.addr
  33. User van
  34. Port 60022
  35. IdentityFile ~/.ssh/id_rsa
  36.  
  37. Host home.vm.vpn
  38. ServerAliveInterval 60
  39. HostName 192.168.0.222
  40. DynamicForward 8081
  41. User van
  42. IdentityFile ~/.ssh/id_rsa
  43. ProxyCommand ssh homeserver nc -w100000 %h %p 2> /dev/null
  44.  
  45. ssh home.vm.vpn
  46.  
  47. Host homedesktop
  48. ServerAliveInterval 60
  49. HostName 192.168.0.245
  50. User van
  51. IdentityFile ~/.ssh/id_rsa
  52. ProxyCommand ssh homeserver nc -w100000 %h %p 2> /dev/null
  53.  
  54. sftp://homedesktop
  55.  
  56. ssh homedesktop
RAW Paste Data