daily pastebin goal
36%
SHARE
TWEET

/etc/ssh/ssh_config

s243a Apr 29th, 2018 (edited) 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This is the ssh client system-wide configuration file.  See
  2. # ssh_config(5) for more information.  This file provides defaults for
  3. # users, and the values can be changed in per-user configuration files
  4. # or on the command line.
  5.  
  6. # Configuration data is parsed as follows:
  7. #  1. command line options
  8. #  2. user-specific file
  9. #  3. system-wide file
  10. # Any configuration value is only changed the first time it is set.
  11. # Thus, host-specific definitions should be at the beginning of the
  12. # configuration file, and defaults at the end.
  13.  
  14. # Site-wide defaults for some commonly used options.  For a comprehensive
  15. # list of available options, their meanings and defaults, please see the
  16. # ssh_config(5) man page.
  17.  
  18. Host *
  19.    ForwardAgent yes
  20.    ForwardX11 yes
  21.    ForwardX11Trusted yes
  22. #   RhostsRSAAuthentication no
  23. #   RSAAuthentication yes
  24. #   PasswordAuthentication yes
  25. #   HostbasedAuthentication no
  26. #   GSSAPIAuthentication no
  27. #   GSSAPIDelegateCredentials no
  28. #   GSSAPIKeyExchange no
  29. #   GSSAPITrustDNS no
  30. #   BatchMode no
  31. #   CheckHostIP yes
  32.    AddressFamily inet
  33. #   ConnectTimeout 0
  34. #   StrictHostKeyChecking ask
  35.    IdentityFile ~/.ssh/identity
  36.    IdentityFile ~/.ssh/id_rsa
  37.    IdentityFile ~/.ssh/id_dsa
  38.    Port 22
  39.    Protocol 2,1
  40. #   Cipher 3des
  41.    Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
  42. #   MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
  43. #   EscapeChar ~
  44. #   Tunnel no
  45. #   TunnelDevice any:any
  46. #   PermitLocalCommand no
  47. #   VisualHostKey no
  48. #   ProxyCommand ssh -q -W %h:%p gateway.example.com
  49. #   RekeyLimit 1G 1h
  50.     SendEnv LANG LC_*
  51.     HashKnownHosts yes
  52.     GSSAPIAuthentication yes
  53.     GSSAPIDelegateCredentials no
RAW Paste Data
Top