Update install.sh
parent
2bf2d4f952
commit
7135cca7f2
|
@ -12,21 +12,16 @@ echo "[ configuring sshd ]"
|
|||
|
||||
cat << EOF > /etc/ssh/sshd_config
|
||||
Include /etc/ssh/sshd_config.d/*.conf
|
||||
|
||||
Port 22
|
||||
ListenAddress 0.0.0.0
|
||||
|
||||
PermitRootLogin yes
|
||||
PubkeyAuthentication yes
|
||||
PasswordAuthentication no
|
||||
PermitEmptyPasswords no
|
||||
|
||||
KbdInteractiveAuthentication no
|
||||
UsePAM yes
|
||||
|
||||
X11Forwarding yes
|
||||
PrintMotd no
|
||||
|
||||
AcceptEnv LANG LC_*
|
||||
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue