diff options
Diffstat (limited to 'EndoForge/src/sshd_config')
-rw-r--r-- | EndoForge/src/sshd_config | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/EndoForge/src/sshd_config b/EndoForge/src/sshd_config index de34cd4..f89a47d 100644 --- a/EndoForge/src/sshd_config +++ b/EndoForge/src/sshd_config | |||
@@ -1,15 +1,20 @@ | |||
1 | # This allows completely open access: | 1 | # This is an sshd_config for running OpenSSH as an unprivileged user on a |
2 | # non-standard port. | ||
3 | Port=22022 | ||
4 | |||
5 | # This setting completely opens up access: | ||
2 | AuthorizedKeysCommand=/bin/echo %t %k | 6 | AuthorizedKeysCommand=/bin/echo %t %k |
3 | # Only this closes it back up: | 7 | |
4 | ForceCommand=/home/u/.ssh/AnonymousAccessCommand | 8 | # This closes it back up: |
9 | ForceCommand= | ||
10 | DisableForwarding=yes | ||
5 | 11 | ||
6 | AuthenticationMethods publickey | 12 | AuthenticationMethods publickey |
7 | AuthorizedKeysCommandUser=u | 13 | AuthorizedKeysCommandUser= |
8 | ExposeAuthInfo=yes | 14 | ExposeAuthInfo=yes |
9 | 15 | ||
10 | Port=22022 | 16 | HostKey= |
11 | HostKey=/home/u/.ssh/id_ed25519 | 17 | PidFile= |
12 | PidFile=/home/u/.ssh/sshd.pid | ||
13 | 18 | ||
14 | AcceptEnv LANG LC_* | 19 | AcceptEnv LANG LC_* |
15 | UsePAM no | 20 | UsePAM no |