diff options
Diffstat (limited to 'config/sshd_config')
| -rw-r--r-- | config/sshd_config | 7 | +2 −5 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/sshd_config b/config/sshd_config index 80f749b..0760fe7 100644 --- a/config/sshd_config +++ b/config/sshd_config @@ -5,7 +5,7 @@ Port 2222 ListenAddress 0.0.0.0 AddressFamily any HostKey /var/lib/gilti/ssh/ssh_host_ed25519_key -PidFile /run/gilti/ssh/sshd.pid +PidFile /run/gilti/sshd.pid AllowUsers git AuthenticationMethods publickey @@ -15,9 +15,7 @@ KbdInteractiveAuthentication no PermitEmptyPasswords no PermitRootLogin no StrictModes yes -AuthorizedKeysFile /run/gilti/ssh/authorized_keys -ForceCommand /usr/local/bin/gilti-ssh -AcceptEnv GIT_PROTOCOL +AuthorizedKeysFile .ssh/authorized_keys DisableForwarding yes AllowAgentForwarding no @@ -26,7 +24,6 @@ GatewayPorts no PermitTunnel no PermitTTY no PermitUserEnvironment no -PermitUserRC no X11Forwarding no LogLevel INFO |
