Last active
August 29, 2015 14:20
-
-
Save diegoaguilar/ab8ce19dec5148adf426 to your computer and use it in GitHub Desktop.
sshd config
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
Port 2222 | |
ListenAddress 127.0.0.1 | |
Protocol 2 | |
HostKey /etc/ssh/ssh_host_rsa_key | |
HostKey /etc/ssh/ssh_host_dsa_key | |
HostKey /etc/ssh/ssh_host_ecdsa_key | |
HostKey /etc/ssh/ssh_host_ed25519_key | |
UserPrivilegeSeparation yes | |
KeyRegenerationInterval 3600 | |
ServerKeyBits 1024 | |
SyslogFacility 1024 | |
LogLevel VERBOSE | |
LoginGraceTime 120 | |
PermitRootLogin no | |
StrictModes yes | |
PubKeyAuthentication yes | |
IgnoreRhosts yes | |
RHostsRSAAuthentication no | |
HostbasedAuthentication no | |
PermitEmptyPasswords no | |
PasswordAuthentication yes | |
TCPKeepAlive yes | |
#UseLogin no | |
UsePAM yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment