projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated for new paths also, which revealed a few locations that are
[feisty_meow.git]
/
scripts
/
security
/
ssh.sh
diff --git
a/scripts/security/ssh.sh
b/scripts/security/ssh.sh
old mode 100755
(executable)
new mode 100644
(file)
index
48add71
..
064ecf8
--- a/
scripts/security/ssh.sh
+++ b/
scripts/security/ssh.sh
@@
-4,7
+4,11
@@
source "$FEISTY_MEOW_SCRIPTS/security/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.