.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 14 Feb 2012 23:23:54 +0200
changeset 304 c6ae628708d5
parent 223 1ce3922d21e6
child 314 d1a4574fa534
permissions -rw-r--r--
Enable dircolors. Check for 'dircolors' command.


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