editing sshd and add public keys

This commit is contained in:
2018-08-24 11:00:52 +02:00
parent 90c34c513a
commit 85839d2385
6 changed files with 33 additions and 4 deletions

View File

@@ -30,7 +30,6 @@
#LoginGraceTime 2m
#PermitRootLogin prohibit-password
PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
@@ -55,7 +54,7 @@ AuthorizedKeysFile .ssh/authorized_keys
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PasswordAuthentication yes
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
@@ -116,5 +115,3 @@ Subsystem sftp /usr/lib/ssh/sftp-server
# AllowTcpForwarding no
# PermitTTY no
# ForceCommand cvs server
AllowUser {% for user in me %}{{ user.username }}{% endfor %}