xref: /freebsd/crypto/openssh/ssh_config (revision e4a9863fb76a1f6b16ecbcbd31e88f4ad9a9565e)
1*e4a9863fSDag-Erling Smørgrav#	$OpenBSD: ssh_config,v 1.27 2013/05/16 02:00:34 dtucker Exp $
21f334c7bSDag-Erling Smørgrav#	$FreeBSD$
3511b41d2SMark Murray
480628bacSDag-Erling Smørgrav# This is the ssh client system-wide configuration file.  See
580628bacSDag-Erling Smørgrav# ssh_config(5) for more information.  This file provides defaults for
680628bacSDag-Erling Smørgrav# users, and the values can be changed in per-user configuration files
780628bacSDag-Erling Smørgrav# or on the command line.
8ca3176e7SBrian Feldman
9511b41d2SMark Murray# Configuration data is parsed as follows:
10511b41d2SMark Murray#  1. command line options
11511b41d2SMark Murray#  2. user-specific file
12511b41d2SMark Murray#  3. system-wide file
13511b41d2SMark Murray# Any configuration value is only changed the first time it is set.
14511b41d2SMark Murray# Thus, host-specific definitions should be at the beginning of the
15511b41d2SMark Murray# configuration file, and defaults at the end.
16511b41d2SMark Murray
17aa49c926SDag-Erling Smørgrav# Site-wide defaults for some commonly used options.  For a comprehensive
18aa49c926SDag-Erling Smørgrav# list of available options, their meanings and defaults, please see the
19aa49c926SDag-Erling Smørgrav# ssh_config(5) man page.
20511b41d2SMark Murray
21511b41d2SMark Murray# Host *
22ca3176e7SBrian Feldman#   ForwardAgent no
23ca3176e7SBrian Feldman#   ForwardX11 no
2480628bacSDag-Erling Smørgrav#   RhostsRSAAuthentication no
25511b41d2SMark Murray#   RSAAuthentication yes
26511b41d2SMark Murray#   PasswordAuthentication yes
27f388f5efSDag-Erling Smørgrav#   HostbasedAuthentication no
28333ee039SDag-Erling Smørgrav#   GSSAPIAuthentication no
29333ee039SDag-Erling Smørgrav#   GSSAPIDelegateCredentials no
30511b41d2SMark Murray#   BatchMode no
31a9a70decSTony Finch#   CheckHostIP no
32cf2b5f3bSDag-Erling Smørgrav#   AddressFamily any
33cf2b5f3bSDag-Erling Smørgrav#   ConnectTimeout 0
34af12a3e7SDag-Erling Smørgrav#   StrictHostKeyChecking ask
35511b41d2SMark Murray#   IdentityFile ~/.ssh/identity
36ca3176e7SBrian Feldman#   IdentityFile ~/.ssh/id_rsa
37af12a3e7SDag-Erling Smørgrav#   IdentityFile ~/.ssh/id_dsa
38511b41d2SMark Murray#   Port 22
39e8aafc91SKris Kennaway#   Protocol 2,1
40af12a3e7SDag-Erling Smørgrav#   Cipher 3des
41cce7d346SDag-Erling Smørgrav#   Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
42d4af9e69SDag-Erling Smørgrav#   MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
43511b41d2SMark Murray#   EscapeChar ~
44b74df5b2SDag-Erling Smørgrav#   Tunnel no
45b74df5b2SDag-Erling Smørgrav#   TunnelDevice any:any
46b74df5b2SDag-Erling Smørgrav#   PermitLocalCommand no
47cce7d346SDag-Erling Smørgrav#   VisualHostKey no
48b15c8340SDag-Erling Smørgrav#   ProxyCommand ssh -q -W %h:%p gateway.example.com
49*e4a9863fSDag-Erling Smørgrav#   RekeyLimit 1G 1h
5083c6a524SDag-Erling Smørgrav#   VerifyHostKeyDNS yes
51*e4a9863fSDag-Erling Smørgrav#   VersionAddendum FreeBSD-20130918
52