privateone commited on
Commit
134d88f
·
verified ·
1 Parent(s): 126d4d9

Update sshd_config

Browse files
Files changed (1) hide show
  1. sshd_config +3 -4
sshd_config CHANGED
@@ -31,15 +31,15 @@ LogLevel INFO
31
  # Authentication:
32
 
33
  #LoginGraceTime 2m
34
- #PermitRootLogin prohibit-password
35
  #StrictModes yes
36
  #MaxAuthTries 6
37
  #MaxSessions 10
38
 
39
- PubkeyAuthentication yes
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,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 *