Skip to content

Instantly share code, notes, and snippets.

@Teino1978-Corp
Created November 21, 2015 04:44
Show Gist options
  • Save Teino1978-Corp/2d46a2cbbe6917500612 to your computer and use it in GitHub Desktop.
Save Teino1978-Corp/2d46a2cbbe6917500612 to your computer and use it in GitHub Desktop.
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]
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