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