blob: c12f5ef52f48b7490eab3fe9bad4d5c701932994 [file] [log] [blame]
djm@openbsd.orgacaf34f2017-05-07 23:12:57 +00001# $OpenBSD: ssh_config,v 1.33 2017/05/07 23:12:57 djm Exp $
Ben Lindstrom36579d32001-01-29 07:39:26 +00002
Ben Lindstrom9721e922002-06-21 01:06:03 +00003# 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.
Damien Millerd4a8b7e1999-10-27 13:42:43 +10007
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
Darren Tucker3f166df2005-02-09 09:46:47 +110016# 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.
Damien Millerd4a8b7e1999-10-27 13:42:43 +100019
20# Host *
Damien Miller0bc1bd82000-11-13 22:57:25 +110021# ForwardAgent no
22# ForwardX11 no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100023# PasswordAuthentication yes
Ben Lindstrom5d35a2f2002-07-04 00:19:40 +000024# HostbasedAuthentication no
Damien Miller81a38922006-06-13 13:01:09 +100025# GSSAPIAuthentication no
26# GSSAPIDelegateCredentials no
Damien Millerd4a8b7e1999-10-27 13:42:43 +100027# BatchMode no
28# CheckHostIP yes
Damien Miller20a8f972003-05-18 20:50:30 +100029# AddressFamily any
Damien Millerb78d5eb2003-05-16 11:39:04 +100030# ConnectTimeout 0
Damien Millerc497e382002-01-22 23:32:39 +110031# StrictHostKeyChecking ask
Ben Lindstrom9323d962001-04-04 01:58:48 +000032# IdentityFile ~/.ssh/id_rsa
Damien Millerc497e382002-01-22 23:32:39 +110033# IdentityFile ~/.ssh/id_dsa
sobrado@openbsd.org9262e072016-02-20 23:02:39 +000034# IdentityFile ~/.ssh/id_ecdsa
35# IdentityFile ~/.ssh/id_ed25519
Damien Millerd4a8b7e1999-10-27 13:42:43 +100036# Port 22
sobrado@openbsd.org09d87d72016-02-20 23:06:23 +000037# Protocol 2
djm@openbsd.orgacaf34f2017-05-07 23:12:57 +000038# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc
39# MACs hmac-md5,hmac-sha1,umac-64@openssh.com
Damien Millerd4a8b7e1999-10-27 13:42:43 +100040# EscapeChar ~
Damien Millerd27b9472005-12-13 19:29:02 +110041# Tunnel no
42# TunnelDevice any:any
43# PermitLocalCommand no
Damien Miller9f6fb562008-11-03 19:15:44 +110044# VisualHostKey no
Darren Tucker7ad8dd22010-01-12 19:40:27 +110045# ProxyCommand ssh -q -W %h:%p gateway.example.com
Darren Tuckerc53c2af2013-05-16 20:28:16 +100046# RekeyLimit 1G 1h