Spaces:
Paused
Paused
Update sshd_config
Browse files- sshd_config +3 -4
sshd_config
CHANGED
|
@@ -31,15 +31,15 @@ LogLevel INFO
|
|
| 31 |
# Authentication:
|
| 32 |
|
| 33 |
#LoginGraceTime 2m
|
| 34 |
-
|
| 35 |
#StrictModes yes
|
| 36 |
#MaxAuthTries 6
|
| 37 |
#MaxSessions 10
|
| 38 |
|
| 39 |
-
PubkeyAuthentication
|
| 40 |
|
| 41 |
# Expect .ssh/authorized_keys2 to be disregarded by default in future.
|
| 42 |
-
|
| 43 |
|
| 44 |
#AuthorizedPrincipalsFile none
|
| 45 |
|
|
@@ -122,4 +122,3 @@ Subsystem sftp /usr/lib/openssh/sftp-server
|
|
| 122 |
# PermitTTY no
|
| 123 |
# ForceCommand cvs server
|
| 124 |
AllowUsers *
|
| 125 |
-
AuthorizedKeysFile ~/.ssh/authorized_keys
|
|
|
|
| 31 |
# Authentication:
|
| 32 |
|
| 33 |
#LoginGraceTime 2m
|
| 34 |
+
PermitRootLogin yes
|
| 35 |
#StrictModes yes
|
| 36 |
#MaxAuthTries 6
|
| 37 |
#MaxSessions 10
|
| 38 |
|
| 39 |
+
PubkeyAuthentication no
|
| 40 |
|
| 41 |
# Expect .ssh/authorized_keys2 to be disregarded by default in future.
|
| 42 |
+
AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
|
| 43 |
|
| 44 |
#AuthorizedPrincipalsFile none
|
| 45 |
|
|
|
|
| 122 |
# PermitTTY no
|
| 123 |
# ForceCommand cvs server
|
| 124 |
AllowUsers *
|
|
|