git://git.jankratochvil.net
/
nethome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1538a3d
)
Spawn SSH agent even on remote hosts (for some foreign keys).
author
lace
<>
Thu, 29 Jun 2006 10:56:38 +0000
(10:56 +0000)
committer
lace
<>
Thu, 29 Jun 2006 10:56:38 +0000
(10:56 +0000)
.bashrc
patch
|
blob
|
history
diff --git
a/.bashrc
b/.bashrc
index
a761b07
..
1459432
100644
(file)
--- a/
.bashrc
+++ b/
.bashrc
@@
-245,7
+245,8
@@
if [ -f "$HOME/.bashrc.local" ];then source "$HOME/.bashrc.local";fi
# Interactive part:
for key in $HOME/.ssh/id_dsa;do
[ -r "$key" ] || continue
- [ -n "$SSH_TTY" ] && continue
+ # Do not: [ -n "$SSH_TTY" ] && continue
+ # as we may want foreign SSH keys too.
agenteval=/tmp/.$USER.ssh-agent.eval
if lockfile -1 -r 3 -l 10 -s 1 $agenteval.lock;then