.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 13 Feb 2012 17:06:41 +0200
changeset 314 d1a4574fa534
parent 223 1ce3922d21e6
child 868 e3b5f71d12f0
permissions -rw-r--r--
This option was disabled to simplify use of port forwarding. You can enable it and pass "-s none" to ssh.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
314
d1a4574fa534 This option was disabled to simplify use of port forwarding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 223
diff changeset
     1
d1a4574fa534 This option was disabled to simplify use of port forwarding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 223
diff changeset
     2
Host *
71
dcc8c2a63ec3 Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 70
diff changeset
     3
dcc8c2a63ec3 Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 70
diff changeset
     4
# Allow sharing of multiple sessions over a single network connection for all
dcc8c2a63ec3 Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 70
diff changeset
     5
# host. Also don't prompt for password when connection live.
314
d1a4574fa534 This option was disabled to simplify use of port forwarding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 223
diff changeset
     6
# This option was disabled to simplify use of port forwarding.
d1a4574fa534 This option was disabled to simplify use of port forwarding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 223
diff changeset
     7
# You can enable it and pass "-s none" to ssh.
d1a4574fa534 This option was disabled to simplify use of port forwarding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 223
diff changeset
     8
# ControlPath ~/.ssh/sock_%r@%h_%p
d1a4574fa534 This option was disabled to simplify use of port forwarding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 223
diff changeset
     9
# ControlMaster auto
66
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
    10
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
    11
# This by default.
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
    12
# UserKnownHostsFile ~/.ssh/known_hosts
69
0e2366650523 About compression.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 67
diff changeset
    13
71
dcc8c2a63ec3 Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 70
diff changeset
    14
# Enable compression. To turn on it manually invoke ssh with -C key.
88
0b8ef20d38f0 I need compression for slow home 3G/GPRS connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 71
diff changeset
    15
Compression yes
89
92844597e8d7 Set higher CompressionLevel than defaut for my home slow/costly inet.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 88
diff changeset
    16
# CompressionLevel has value 1..9 (fast..slow/best) with default 6.
92844597e8d7 Set higher CompressionLevel than defaut for my home slow/costly inet.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 88
diff changeset
    17
# Applicable for SSH protocol version 1.
92844597e8d7 Set higher CompressionLevel than defaut for my home slow/costly inet.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 88
diff changeset
    18
CompressionLevel 8
70
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    19
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    20
# Prefer public key authentication.
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    21
PreferredAuthentications publickey,keyboard-interactive,password
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    22
PubkeyAuthentication yes
222
8111e9e127f5 Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 89
diff changeset
    23
8111e9e127f5 Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 89
diff changeset
    24
# Bypass locale env vars to remote host.
223
1ce3922d21e6 Add doc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 222
diff changeset
    25
# Add to remote opensshd: AcceptEnv LANG LC_*
222
8111e9e127f5 Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 89
diff changeset
    26
SendEnv LANG LC_*
8111e9e127f5 Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 89
diff changeset
    27