author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 28 Jan 2017 01:52:54 +0200 | |
changeset 822 | 7621d94eba35 |
parent 314 | d1a4574fa534 |
child 868 | e3b5f71d12f0 |
permissions | -rw-r--r-- |
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 | 10 |
|
11 |
# This by default. |
|
12 |
# UserKnownHostsFile ~/.ssh/known_hosts |
|
69 | 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 | 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 |