.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.


# Allow sharing of multiple sessions over a single network connection for all
# host. Also don't prompt for password when connection live.
Host *
ControlPath ~/.ssh/sock_%r@%h_%p
ControlMaster auto

# This by default.
# UserKnownHostsFile ~/.ssh/known_hosts

# Enable compression. To turn on it manually invoke ssh with -C key.
Compression yes

# Prefer public key authentication.
PreferredAuthentications publickey,keyboard-interactive,password
PubkeyAuthentication yes