Skip to content

Commit 794aea1

Browse files
authored
Update docker/root/etc/s6/openssh/setup
1 parent c0b6511 commit 794aea1

File tree

1 file changed

+3
-1
lines changed
  • docker/root/etc/s6/openssh

1 file changed

+3
-1
lines changed

docker/root/etc/s6/openssh/setup

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ if [ -e /data/ssh/ssh_host_ecdsa_cert ]; then
3131
SSH_ECDSA_CERT=${SSH_ECDSA_CERT:-"/data/ssh/ssh_host_ecdsa_cert"}
3232
fi
3333

34-
# check locations ssh-keygen would put the certs in
34+
# In case someone wants to sign the `{keyname}.pub` key by `ssh-keygen -s ca -I identity ...` to
35+
# make use of the ssh-key certificate authority feature (see ssh-keygen CERTIFICATES section),
36+
# the generated key file name is `{keyname}-cert.pub`
3537
if [ -e /data/ssh/ssh_host_ed25519_key-cert.pub ]; then
3638
SSH_ED25519_CERT=${SSH_ED25519_CERT:-"/data/ssh/ssh_host_ed25519_key-cert.pub"}
3739
fi

0 commit comments

Comments
 (0)