.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 31 Jul 2010 19:16:37 +0300
changeset 88 0b8ef20d38f0
parent 71 dcc8c2a63ec3
child 89 92844597e8d7
permissions -rw-r--r--
I need compression for slow home 3G/GPRS connection.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
     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
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
     7
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
     8
# This by default.
486c0203dc2d Added comments.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 65
diff changeset
     9
# UserKnownHostsFile ~/.ssh/known_hosts
69
0e2366650523 About compression.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 67
diff changeset
    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
70
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    13
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    14
# Prefer public key authentication.
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    15
PreferredAuthentications publickey,keyboard-interactive,password
637657d3b402 Prefer public key authentication.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 69
diff changeset
    16
PubkeyAuthentication yes