author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 01 Aug 2017 01:20:56 +0300 | |
changeset 868 | e3b5f71d12f0 |
parent 314 | d1a4574fa534 |
child 930 | e867bffa536e |
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 |
70
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
16 |
|
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
17 |
# Prefer public key authentication. |
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
18 |
PreferredAuthentications publickey,keyboard-interactive,password |
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
19 |
PubkeyAuthentication yes |
222
8111e9e127f5
Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
89
diff
changeset
|
20 |
|
8111e9e127f5
Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
89
diff
changeset
|
21 |
# Bypass locale env vars to remote host. |
223 | 22 |
# 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
|
23 |
SendEnv LANG LC_* |
8111e9e127f5
Bypass locale env vars to remote host.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
89
diff
changeset
|
24 |