ssh_config 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. # Configuration data is parsed as follows:
  6. # 1. command line options
  7. # 2. user-specific file
  8. # 3. system-wide file
  9. # Any configuration value is only changed the first time it is set.
  10. # Thus, host-specific definitions should be at the beginning of the
  11. # configuration file, and defaults at the end.
  12. # Site-wide defaults for some commonly used options. For a comprehensive
  13. # list of available options, their meanings and defaults, please see the
  14. # ssh_config(5) man page.
  15. Include /etc/ssh/ssh_config.d/*.conf
  16. Host *
  17. # ForwardAgent no
  18. # ForwardX11 no
  19. # ForwardX11Trusted yes
  20. # PasswordAuthentication yes
  21. # HostbasedAuthentication no
  22. # GSSAPIAuthentication no
  23. # GSSAPIDelegateCredentials no
  24. # GSSAPIKeyExchange no
  25. # GSSAPITrustDNS no
  26. # BatchMode no
  27. # CheckHostIP no
  28. # AddressFamily any
  29. # ConnectTimeout 0
  30. # StrictHostKeyChecking ask
  31. # IdentityFile ~/.ssh/id_rsa
  32. # IdentityFile ~/.ssh/id_dsa
  33. # IdentityFile ~/.ssh/id_ecdsa
  34. # IdentityFile ~/.ssh/id_ed25519
  35. # Port 22
  36. Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
  37. # MACs hmac-md5,hmac-sha1,umac-64@openssh.com
  38. # EscapeChar ~
  39. # Tunnel no
  40. # TunnelDevice any:any
  41. # PermitLocalCommand no
  42. # VisualHostKey no
  43. # ProxyCommand ssh -q -W %h:%p gateway.example.com
  44. # RekeyLimit 1G 1h
  45. # UserKnownHostsFile ~/.ssh/known_hosts.d/%k
  46. SendEnv LANG LC_*
  47. HashKnownHosts yes
  48. GSSAPIAuthentication yes
  49. PubkeyAuthentication yes
  50. KexAlgorithms +diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
  51. HostkeyAlgorithms +ssh-rsa
  52. PubkeyAcceptedAlgorithms +ssh-rsa