summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-09-24 17:41:56 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-09-24 17:41:56 -0700
commitebd83a036cd94d856c2cd100202c6fb4ca287ce1 (patch)
tree2502a4464ae60d5a821ed9040f13241e8dce284b /tools
parentf59369d1bb0eac874dcd2fa91abfad9186b22810 (diff)
parent314530b519814af4b19b4f7cbcb9a35a6cd68e2d (diff)
downloadvyos-cloud-init-ebd83a036cd94d856c2cd100202c6fb4ca287ce1.tar.gz
vyos-cloud-init-ebd83a036cd94d856c2cd100202c6fb4ca287ce1.zip
Bring up to date with trunk.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/write-ssh-key-fingerprints3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/write-ssh-key-fingerprints b/tools/write-ssh-key-fingerprints
index 5723c989..aa1f3c38 100755
--- a/tools/write-ssh-key-fingerprints
+++ b/tools/write-ssh-key-fingerprints
@@ -1,4 +1,5 @@
#!/bin/sh
+exec 2>&1
fp_blist=",${1},"
key_blist=",${2},"
{
@@ -15,7 +16,7 @@ done
echo "-----END SSH HOST KEY FINGERPRINTS-----"
echo "#############################################################"
-} | logger -p user.info -s -t "ec2"
+} | logger -p user.info --stderr -t "ec2"
echo -----BEGIN SSH HOST KEY KEYS-----
for f in /etc/ssh/ssh_host_*key.pub; do