Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 1 | # $OpenBSD: ssh_config,v 1.35 2020/07/17 03:43:42 dtucker Exp $ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 2 | |
| 3 | # This is the ssh client system-wide configuration file. See |
| 4 | # ssh_config(5) for more information. This file provides defaults for |
| 5 | # users, and the values can be changed in per-user configuration files |
| 6 | # or on the command line. |
| 7 | |
| 8 | # Configuration data is parsed as follows: |
| 9 | # 1. command line options |
| 10 | # 2. user-specific file |
| 11 | # 3. system-wide file |
| 12 | # Any configuration value is only changed the first time it is set. |
| 13 | # Thus, host-specific definitions should be at the beginning of the |
| 14 | # configuration file, and defaults at the end. |
| 15 | |
| 16 | # Site-wide defaults for some commonly used options. For a comprehensive |
| 17 | # list of available options, their meanings and defaults, please see the |
| 18 | # ssh_config(5) man page. |
| 19 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 20 | Include /etc/ssh/ssh_config.d/*.conf |
| 21 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | Host * |
| 23 | ForwardAgent yes |
| 24 | ForwardX11 yes |
| 25 | # RhostsRSAAuthentication no |
| 26 | # RSAAuthentication yes |
| 27 | # PasswordAuthentication yes |
| 28 | # HostbasedAuthentication no |
| 29 | # GSSAPIAuthentication no |
| 30 | # GSSAPIDelegateCredentials no |
| 31 | # BatchMode no |
| 32 | # CheckHostIP yes |
| 33 | # AddressFamily any |
| 34 | # ConnectTimeout 0 |
| 35 | # StrictHostKeyChecking ask |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 36 | # IdentityFile ~/.ssh/id_rsa |
| 37 | # IdentityFile ~/.ssh/id_dsa |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 38 | # IdentityFile ~/.ssh/id_ecdsa |
| 39 | # IdentityFile ~/.ssh/id_ed25519 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 40 | # Port 22 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 41 | # Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc |
| 42 | # MACs hmac-md5,hmac-sha1,umac-64@openssh.com |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame^] | 50 | # UserKnownHostsFile ~/.ssh/known_hosts.d/%k |