We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 519e7c6 commit 3682aafCopy full SHA for 3682aaf
2 files changed
image/entrypoint
@@ -3,6 +3,10 @@ set -e
3
4
echo ">>> FarSSH container image $FARSSH_VERSION ($FARSSH_DATE)"
5
6
+# Generate motd with version and date
7
+sed -i "s/__FARSSH_VERSION__/$FARSSH_VERSION/g" /etc/motd
8
+sed -i "s/__FARSSH_DATE__/$FARSSH_DATE/g" /etc/motd
9
+
10
host_algos=$(env | sed -n 's/FARSSH_SSH_HOST_\([A-Z0-9]*\)_KEY_BASE64=.*/\1/p')
11
12
echo ">>> FarSSH host keys:"
image/motd
@@ -1,4 +1,6 @@
1
Welcome to some FarSSH relay.
2
+Version: __FARSSH_VERSION__ (built: __FARSSH_DATE__)
See https://github.com/apparentorder/farssh for further information.
0 commit comments