Last active
March 11, 2021 00:22
-
-
Save euikook/2c0873273d70722e1dc3101858e1f995 to your computer and use it in GitHub Desktop.
ssh-config-and-include-statement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host example.com | |
Hostmname example.com | |
IdentityFile ~/.ssh/test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host example.com | |
Hostmname example.com | |
PreferredAuthentications password | |
PubkeyAuthentication no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host example.com | |
Hostmname example.com | |
Port 5545 | |
PreferredAuthentications password | |
PubkeyAuthentication no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── 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