Skip to content

Commit

Permalink
add ssh config file
Browse files Browse the repository at this point in the history
  • Loading branch information
newwuhan5 committed Sep 17, 2020
1 parent e1b8834 commit c072ab8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions config/ssh_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Bare bone configuration
Port 2222
ListenAddress 0.0.0.0
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation no
SyslogFacility AUTH
LogLevel INFO
LoginGraceTime 120
PermitRootLogin no
AllowUsers jacky
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication no
PasswordAuthentication yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes

0 comments on commit c072ab8

Please sign in to comment.