diff options
| author | Your Name <you@example.com> | 2025-12-29 20:01:17 +0800 |
|---|---|---|
| committer | Your Name <you@example.com> | 2025-12-29 20:01:17 +0800 |
| commit | 7bd52ea1ae10870cc2ff8aa5c237679c30ffda72 (patch) | |
| tree | af72b9290a5e0cb7d2ae43752fb4ea3dba55bc1c /sshd_config | |
| parent | 745ca5a613d3dbac8143a62e4a90e9833422e023 (diff) | |
Diffstat (limited to 'sshd_config')
| -rw-r--r-- | sshd_config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sshd_config b/sshd_config new file mode 100644 index 0000000..ab4c469 --- /dev/null +++ b/sshd_config | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | Port 22 | ||
| 2 | PermitRootLogin prohibit-password | ||
| 3 | PasswordAuthentication no | ||
| 4 | PubkeyAuthentication yes | ||
| 5 | AuthorizedKeysFile /git/.ssh/authorized_keys | ||
| 6 | Subsystem sftp /usr/lib/ssh/sftp-server | ||
