Files
teleport/docker/sshd/scripts/export.sh
T
Andrew Lytvynov 8d7a217089 Run shellcheck during "make lint"
Shellcheck is a linter for shell scripts. Since we have quite a few of
those for release packaging and examples, we'll benefit from an extra
set of (robot) eyes.

Note: I disabled https://github.com/koalaman/shellcheck/wiki/Sc2086 to
make this PR smaller. That specific check is for the most frequent
mistake in our scripts - not quoting env var expansions. I'll do a
separate PR cleaning those up.

`build.assets/pkg` is no longer used and was removed.
2020-09-29 20:40:16 +00:00

8 lines
138 B
Bash

#!/bin/bash
while true
do
tctl auth export --type=user | sed s/cert-authority\ // > /mnt/shared/certs/teleport.pub
sleep 10
done