Skip to content

Instantly share code, notes, and snippets.

@euikook
Last active March 11, 2021 00:22
Show Gist options
  • Save euikook/2c0873273d70722e1dc3101858e1f995 to your computer and use it in GitHub Desktop.
Save euikook/2c0873273d70722e1dc3101858e1f995 to your computer and use it in GitHub Desktop.
ssh-config-and-include-statement
$ lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
$ ssh -V
OpenSSH_8.4p1, OpenSSL 1.1.1h 22 Sep 2020
$ lsb_release -a
LSB Version: 1.4
Distributor ID: Arch
Description: Arch Linux
Release: rolling
Codename: n/a
$ ssh -V
OpenSSH_8.4p1, OpenSSL 1.1.1h 22 Sep 2020
Host example.com
Hostmname example.com
IdentityFile ~/.ssh/test
Host 1.2.3.4 test
Hostname 1.2.3.4
Port 22
User username
SendEnv LANG LC_*
IdentityFile ~/.ssh/test
ConnectTimeout 0
HashKnownHosts yes
ServerAliveInterval 30
ServerAliveCountMax 3
Host example.com
Hostmname example.com
PreferredAuthentications password
PubkeyAuthentication no
Host example.com
Hostmname example.com
Port 5545
PreferredAuthentications password
PubkeyAuthentication no
.
├── authorized_keys
├── conf.d
│ ├── common.conf
│ ├── p1.conf.disabled
│ ├── p2.conf
│ ├── p3.conf
│ ├── p4.conf.disabled
│ ├── p5.conf
├── config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment