projects
/
zsh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446cae2
)
no user and no global known hosts file
author
Joerg Jaspert
<joerg.jaspert@dlh.de>
Thu, 3 Mar 2016 08:51:30 +0000
(09:51 +0100)
committer
Joerg Jaspert
<joerg.jaspert@dlh.de>
Thu, 3 Mar 2016 08:51:30 +0000
(09:51 +0100)
.zsh/functions/sshnk
patch
|
blob
|
history
diff --git
a/.zsh/functions/sshnk
b/.zsh/functions/sshnk
index
09f8ac1
..
3b18236
100644
(file)
--- a/
.zsh/functions/sshnk
+++ b/
.zsh/functions/sshnk
@@
-5,6
+5,6
@@
local SSH_AGENT_PID
eval `ssh-agent`
ssh-add -c
- ssh -o ControlPath=none -A -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"
+ ssh -o ControlPath=none -A -o
GlobalKnownHostsFile=/dev/null -o
UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no "$@"
kill $SSH_AGENT_PID
)