diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 00:10:44 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-04-21 00:10:44 -0500 |
commit | f148ed5db024bcd3792817e80a6cde59b164f615 (patch) | |
tree | 376b83ab533e34f3f993b792ee0ebbdf57fa7057 /bin | |
parent | 0ea997a90ceab7f1e419d71c26c34151decebd01 (diff) | |
download | conf-f148ed5db024bcd3792817e80a6cde59b164f615.tar.gz conf-f148ed5db024bcd3792817e80a6cde59b164f615.zip |
add a timeout to my added private key
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ssh-add-helper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ssh-add-helper b/bin/ssh-add-helper index 605a702..7dd323f 100644 --- a/bin/ssh-add-helper +++ b/bin/ssh-add-helper @@ -5,7 +5,7 @@ use IO::Pty::Easy; my $pass = `pwsafe -pE ssh.magus`; my $pty = IO::Pty::Easy->new; -$pty->spawn("ssh-add $ARGV[0]"); +$pty->spawn("ssh-add -t 1800 $ARGV[0]"); $pty->read; $pty->write($pass . "\n"); while (1) { |