mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-05 22:54:01 +02:00
RSAAuthentication no; Turn off SFTP; Turn off X11 forwarding; #51
This commit is contained in:
parent
68a5ae8453
commit
4a6602e877
1 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ LoginGraceTime 120
|
|||
PermitRootLogin without-password
|
||||
StrictModes yes
|
||||
|
||||
RSAAuthentication yes
|
||||
RSAAuthentication no
|
||||
PubkeyAuthentication yes
|
||||
#AuthorizedKeysFile %h/.ssh/authorized_keys
|
||||
|
||||
|
@ -68,7 +68,7 @@ PasswordAuthentication no
|
|||
#GSSAPIAuthentication no
|
||||
#GSSAPICleanupCredentials yes
|
||||
|
||||
X11Forwarding yes
|
||||
X11Forwarding no
|
||||
X11DisplayOffset 10
|
||||
PrintMotd no
|
||||
PrintLastLog yes
|
||||
|
@ -81,7 +81,7 @@ TCPKeepAlive yes
|
|||
# Allow client to pass locale environment variables
|
||||
AcceptEnv LANG LC_*
|
||||
|
||||
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||
# Subsystem sftp /usr/lib/openssh/sftp-server
|
||||
|
||||
# Set this to 'yes' to enable PAM authentication, account processing,
|
||||
# and session processing. If this is enabled, PAM authentication will
|
||||
|
|
Loading…
Add table
Reference in a new issue