This commit is contained in:
2023-12-10 00:19:14 +13:00
parent 778bbd8b4f
commit a06a07ddbe
9 changed files with 100 additions and 6 deletions

12
sshd_config Normal file
View File

@ -0,0 +1,12 @@
Port 22
AddressFamily any
ListenAddress 0.0.0.0
ListenAddress ::
HostKey /etc/ssh/ssh_host_ed25519_key
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication no
KbdInteractiveAuthentication no
UsePAM yes
PrintMotd no
Subsystem sftp /usr/lib/ssh/sftp-server