.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 03 May 2010 19:41:08 +0300
changeset 70 637657d3b402
parent 69 0e2366650523
child 71 dcc8c2a63ec3
permissions -rw-r--r--
Prefer public key authentication.

# Allow connection to all host.
Host *

# Allow sharing of multiple sessions over a single network connection.
# Also don't prompt for password second time.
ControlPath ~/.ssh/sock_%r@%h_%p
ControlMaster auto

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

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

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