Created
November 21, 2015 04:44
-
-
Save Teino1978-Corp/2d46a2cbbe6917500612 to your computer and use it in GitHub Desktop.
OpenSSH Configuration - https://www.libssh.org/2013/11/03/openssh-introduces-curve25519-sha256libssh-org-key-exchange/
This file contains hidden or 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 * | |
CheckHostIP yes | |
Compression yes | |
IdentityFile ~/.ssh/id_rsa | |
Protocol 2 | |
AddressFamily inet | |
IdentitiesOnly yes | |
KexAlgorithms [email protected] | |
PasswordAuthentication no | |
ChallengeResponseAuthentication no | |
PubkeyAuthentication yes | |
PreferredAuthentications publickey | |
VisualHostKey yes | |
HostKeyAlgorithms [email protected],ssh-ed25519 | |
Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr | |
MACs [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,[email protected] |
This file contains hidden or 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
Port 22 | |
HostKey /etc/ssh/ssh_host_ed25519_key | |
AddressFamily inet | |
#AllowGroups ssh-users | |
#AllowUsers user1 user2 | |
#AuthorizedKeys .ssh/authorized_keys .ssh/authorized_keys2 | |
AuthenticationMethods publickey | |
ChallengeResponseAuthentication no | |
Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr | |
MACs [email protected],[email protected],[email protected],[email protected],hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,[email protected] | |
PasswordAuthentication no | |
PermitEmptyPasswords no | |
# rsnapshot-ready | |
PermitRootLogin forced-commands-only | |
PubkeyAuthentication yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment