.ssh/config
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 12 Nov 2023 13:44:06 +0200
changeset 1022 17e43eca7401
parent 930 e867bffa536e
child 1029 09f23ab46d03
permissions -rw-r--r--
magic-space expand sequence referring to the command history in place, so you have a chance to review before executing.


Host *

# Allow sharing of multiple sessions over a single network connection for all
# host. Also don't prompt for password when connection live.
# This option was disabled to simplify use of port forwarding.
# You can enable it and pass "-s none" to ssh.
# ControlPath ~/.ssh/sock_%r@%h_%p
# ControlMaster auto

ServerAliveInterval 120

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

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

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