projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed usage of BUILD_BEFORE which was erroneoulsy being used instead of FIRST_TARGETS...
[feisty_meow.git]
/
scripts
/
security
/
ssh.sh
diff --git
a/scripts/security/ssh.sh
b/scripts/security/ssh.sh
index ca226c3cf21d12b913300850b3ea681758fc2ea8..064ecf8a112c86021f2e970ad7fd29996648b810 100755
(executable)
--- a/
scripts/security/ssh.sh
+++ b/
scripts/security/ssh.sh
@@
-2,9
+2,13
@@
# wraps our calling the secure shell and lets us pick our credentials.
# wraps our calling the secure shell and lets us pick our credentials.
-source "$FEISTY_MEOW_SCRIPTS/pick_credentials.sh"
+source "$FEISTY_MEOW_SCRIPTS/
security/
pick_credentials.sh"
-\ssh -i "$keyfile" -X $*
+if [ ! -z "$keyfile" ]; then
+ \ssh -i "$keyfile" -X $*
+else
+ \ssh -X $*
+fi
if [ $? -eq 0 ]; then
# we don't want to emit anything extra if this is being driven by git.
if [ $? -eq 0 ]; then
# we don't want to emit anything extra if this is being driven by git.