Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. ## Enable auto completion even when needing a password
  2. ## as long as one connnection to the server has been established.
  3. Host *
  4. ControlPath ~/.ssh/master-%r@%h:%p
  5. ControlMaster auto
  6.  
  7. $ ssh -vYp 1234 terdon@123.456.78.9
  8. OpenSSH_6.2p2 Debian-6, OpenSSL 1.0.1e 11 Feb 2013
  9. debug1: Reading configuration data /home/terdon/.ssh/config
  10. debug1: /home/terdon/.ssh/config line 3: Applying options for *
  11. debug1: Reading configuration data /etc/ssh/ssh_config
  12. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  13. debug1: auto-mux: Trying existing master
  14. debug1: mux_client_request_session: master session id: 14
  15. Last login: Tue Oct 15 20:12:24 2013 from foo.bar.net
  16. terdon@server $ echo $DISPLAY
  17.  
  18. terdon@server $
  19.  
  20. debug1: Requesting X11 forwarding with authentication spoofing.
  21. debug1: Sending environment.
  22. debug1: Sending env LANG = en_US.UTF-8
  23.  
  24. terdon@server $ echo $DISPLAY
  25. localhost:11.0
  26.  
  27. Host *
  28. ControlPath ~/.ssh/master-%r@%h:%p
  29. ControlMaster auto
  30. X11Forwarding yes
  31.  
  32. X11Forwarding yes
  33. Host *
  34. ControlPath ~/.ssh/master-%r@%h:%p
  35. ControlMaster auto
  36.  
  37. Bad configuration option: X11Forwarding
  38.  
  39. $ lsb_release -icd
  40. Distributor ID: LinuxMint
  41. Description: LMDE Cinnamon Edition
  42. Codename: debian
  43. $ uname -a
  44. Linux oregano 3.10-2-amd64 #1 SMP Debian 3.10.5-1 (2013-08-07) x86_64 GNU/Linux
  45. $ ssh -V
  46. OpenSSH_6.2p2 Debian-6, OpenSSL 1.0.1e 11 Feb 2013
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement