xref: /onnv-gate/usr/src/cmd/ssh/etc/ssh_config (revision 0:68f95e015346)
1*0Sstevel@tonic-gate# Copyright (c) 2001 by Sun Microsystems, Inc.
2*0Sstevel@tonic-gate# All rights reserved.
3*0Sstevel@tonic-gate#
4*0Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
5*0Sstevel@tonic-gate#
6*0Sstevel@tonic-gate# This file provides defaults for ssh(1).
7*0Sstevel@tonic-gate# The values can be changed in per-user configuration files $HOME/.ssh/config
8*0Sstevel@tonic-gate# or on the command line of ssh(1).
9*0Sstevel@tonic-gate
10*0Sstevel@tonic-gate# Configuration data is parsed as follows:
11*0Sstevel@tonic-gate#  1. command line options
12*0Sstevel@tonic-gate#  2. user-specific file
13*0Sstevel@tonic-gate#  3. system-wide file /etc/ssh/ssh_config
14*0Sstevel@tonic-gate#
15*0Sstevel@tonic-gate# Any configuration value is only changed the first time it is set.
16*0Sstevel@tonic-gate# host-specific definitions should be at the beginning of the
17*0Sstevel@tonic-gate# configuration file, and defaults at the end.
18*0Sstevel@tonic-gate
19*0Sstevel@tonic-gate# Example (matches compiled in defaults):
20*0Sstevel@tonic-gate#
21*0Sstevel@tonic-gate# Host *
22*0Sstevel@tonic-gate#   ForwardAgent no
23*0Sstevel@tonic-gate#   ForwardX11 no
24*0Sstevel@tonic-gate#   PubkeyAuthentication yes
25*0Sstevel@tonic-gate#   PasswordAuthentication yes
26*0Sstevel@tonic-gate#   FallBackToRsh no
27*0Sstevel@tonic-gate#   UseRsh no
28*0Sstevel@tonic-gate#   BatchMode no
29*0Sstevel@tonic-gate#   CheckHostIP yes
30*0Sstevel@tonic-gate#   StrictHostKeyChecking ask
31*0Sstevel@tonic-gate#   EscapeChar ~
32