blob: ca70f373759637472be4f17b69f52dd7659fe90b [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -05001# $OpenBSD: ssh_config,v 1.35 2020/07/17 03:43:42 dtucker Exp $
Patrick Williamsc124f4f2015-09-15 14:41:29 -05002
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 Williams92b42cb2022-09-03 06:53:57 -050020Include /etc/ssh/ssh_config.d/*.conf
21
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022Host *
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 Williamsc124f4f2015-09-15 14:41:29 -050036# IdentityFile ~/.ssh/id_rsa
37# IdentityFile ~/.ssh/id_dsa
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080038# IdentityFile ~/.ssh/id_ecdsa
39# IdentityFile ~/.ssh/id_ed25519
Patrick Williamsc124f4f2015-09-15 14:41:29 -050040# Port 22
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080041# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
42# MACs hmac-md5,hmac-sha1,umac-64@openssh.com
Patrick Williamsc124f4f2015-09-15 14:41:29 -050043# 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 Williams92b42cb2022-09-03 06:53:57 -050050# UserKnownHostsFile ~/.ssh/known_hosts.d/%k