.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 07 Nov 2011 20:32:07 +0200
changeset 263 9a0fc755c9f9
parent 223 1ce3922d21e6
child 314 d1a4574fa534
permissions -rw-r--r--
Make '-C' and '-f' option work together.


# 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
# CompressionLevel has value 1..9 (fast..slow/best) with default 6.
# Applicable for SSH protocol version 1.
CompressionLevel 8

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

# Bypass locale env vars to remote host.
# Add to remote opensshd: AcceptEnv LANG LC_*
SendEnv LANG LC_*