summaryrefslogtreecommitdiff
path: root/src/monkeysphere-ssh-proxycommand
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@phys.columbia.edu>2008-08-12 18:24:18 -0700
committerJameson Graef Rollins <jrollins@phys.columbia.edu>2008-08-12 18:24:18 -0700
commit70674cae8b3d69d0e750125387b26c0d5857c5ba (patch)
treec842b0707e6d7757000f5d72cff471de8bae5477 /src/monkeysphere-ssh-proxycommand
parent0565fa2f4dd1e6b563d00771bf71142c4004aa9d (diff)
fix another bug when processing ssh key files that do not exist.
Diffstat (limited to 'src/monkeysphere-ssh-proxycommand')
-rwxr-xr-xsrc/monkeysphere-ssh-proxycommand2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monkeysphere-ssh-proxycommand b/src/monkeysphere-ssh-proxycommand
index 438db87..780ff03 100755
--- a/src/monkeysphere-ssh-proxycommand
+++ b/src/monkeysphere-ssh-proxycommand
@@ -59,7 +59,7 @@ if gpg --list-key ="${URI}" 2>&1 >/dev/null ; then
else
# if the host key is found in the known_hosts file...
# FIXME: this only works for default known_hosts location
- hostKey=$(ssh-keygen -F "$HOST")
+ hostKey=$(ssh-keygen -F "$HOST" 2>/dev/null)
if [ "$hostKey" ] ; then
# do not check the keyserver