.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 07 Oct 2011 18:27:29 +0300
changeset 222 8111e9e127f5
parent 89 92844597e8d7
child 223 1ce3922d21e6
permissions -rw-r--r--
Bypass locale env vars to remote host.


# 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.
SendEnv LANG LC_*