author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Mon, 03 May 2010 19:41:08 +0300 | |
changeset 70 | 637657d3b402 |
parent 69 | 0e2366650523 |
child 71 | dcc8c2a63ec3 |
permissions | -rw-r--r-- |
66 | 1 |
# Allow connection to all host. |
2 |
Host * |
|
46
196729fa9d4e
Allow sharing of multiple sessions over a single network connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
|
196729fa9d4e
Allow sharing of multiple sessions over a single network connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
# Allow sharing of multiple sessions over a single network connection. |
196729fa9d4e
Allow sharing of multiple sessions over a single network connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
# Also don't prompt for password second time. |
67
27ef73b69fd8
Create sock file in ~/.ssh dir, because ~/.ssh/sock can not exists.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
66
diff
changeset
|
6 |
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
|
7 |
ControlMaster auto |
66 | 8 |
|
9 |
# This by default. |
|
10 |
# UserKnownHostsFile ~/.ssh/known_hosts |
|
69 | 11 |
|
12 |
# Enable compression. To turn on it manually invoce ssh with -C key. |
|
13 |
# Compression yes |
|
70
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
14 |
|
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
15 |
# Prefer public key authentication. |
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
16 |
PreferredAuthentications publickey,keyboard-interactive,password |
637657d3b402
Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
69
diff
changeset
|
17 |
PubkeyAuthentication yes |