mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-08 11:05:31 -05:00
use /run/ssh
subdir + harden openssh config a bit
This commit is contained in:
parent
12e9c71750
commit
6f8d11c8e5
@ -4,7 +4,7 @@ Before=sshd.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/bash -c "ssh-keygen -t ecdsa -q -N '' -f /run/ssh_host_ecdsa_key"
|
ExecStart=/bin/bash -c "mkdir -p /run/ssh; ssh-keygen -t ecdsa -q -N '' -f /run/ssh/ssh_host_ecdsa_key"
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
HostKey /run/ssh_host_ecdsa_key
|
HostKey /run/ssh/ssh_host_ecdsa_key
|
||||||
TrustedUserCAKeys /run/ssh_ca.pub
|
TrustedUserCAKeys /run/ssh/ssh_ca.pub
|
||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
|
ChallengeResponseAuthentication no
|
||||||
|
AuthorizedKeysFile /dev/null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user