.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 07 Oct 2011 18:28:32 +0300
changeset 223 1ce3922d21e6
parent 222 8111e9e127f5
child 314 d1a4574fa534
permissions -rw-r--r--
Add doc.


# 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_*