summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/config.sample
blob: 34daeee5630790653d3d074e529b7f60c8319ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# This is a sample per-user ssh configuration file.  This file could be
# the user's .ssh/config.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# System defaults will be used for anything not explicitly specified
# in this file.

Host fake
  HostName sparc.ngs.fi
  UseRsh yes

Host pooh
  HostName pooh.tky.hut.fi

Host shadows.cs.hut.fi shadows
  RhostsAuthentication yes
  KeepAlive no
  RemoteForward 30000 olari.clinet.fi:23
  LocalForward 30001 lk-hp-13.hut.fi:23
  IdentityFile ~/.identityfiles/shadows

Host ngs.fi *.ngs.fi
  RhostsAuthentication no
  FallBackToRsh no
  PasswordAuthentication no
  IdentityFile ~/.identityfiles/ngs
  KeepAlive no
  Compression yes
  CompressionLevel 9

Host *.fr
  UseRsh yes

Host *.su
  FallBackToRsh yes
  Cipher none
  PasswordAuthentication no
  ForwardAgent no

Host *.com *.edu *.gov *.mil *.org *.de *.uk
  Cipher 3des
  ForwardAgent no

# Defaults for various options
Host *
  ForwardAgent yes
  ForwardX11 yes
  RhostsAuthentication yes
  PasswordAuthentication yes
  RSAAuthentication yes
  FallBackToRsh no
  UseRsh no
  IdentityFile ~/.ssh/identity
  Port 22
  Cipher idea