author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 31 Jul 2010 19:21:25 +0300 | |
changeset 89 | 92844597e8d7 |
parent 88 | 0b8ef20d38f0 |
child 222 | 8111e9e127f5 |
permissions | -rw-r--r-- |
71
dcc8c2a63ec3
Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
70
diff
changeset
|
1 |
|
dcc8c2a63ec3
Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
70
diff
changeset
|
2 |
# 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
|
3 |
# host. Also don't prompt for password when connection live. |
66 | 4 |
Host * |
67
27ef73b69fd8
Create sock file in ~/.ssh dir, because ~/.ssh/sock can not exists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
66
diff
changeset
|
5 |
ControlPath ~/.ssh/sock_%r@%h_%p |
46
196729fa9d4e
Allow sharing of multiple sessions over a single network connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
ControlMaster auto |
66 | 7 |
|
8 |
# This by default. |
|
9 |
# UserKnownHostsFile ~/.ssh/known_hosts |
|
69 | 10 |
|
71
dcc8c2a63ec3
Revert: Host used for ControlMaster option. Also fix some misspelling.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
70
diff
changeset
|
11 |
# 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
|
12 |
Compression yes |
89
92844597e8d7
Set higher CompressionLevel than defaut for my home slow/costly inet.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
88
diff
changeset
|
13 |
# 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
|
14 |
# 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
|
15 |
CompressionLevel 8 |
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 |