summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-08-17 00:52:26 -0400
committerJesse Luehrs <doy@tozt.net>2013-08-17 01:22:50 -0400
commitda13b26bad886ce68a0356f2b9c8307cf7569de9 (patch)
treed0b8fcb8236f343063a47b7e8708e62dad5df5f4 /bin
parent2d0b20ecc8d10bd8c2e3ec1dfd8f9c52e593dd32 (diff)
downloadconf-da13b26bad886ce68a0356f2b9c8307cf7569de9.tar.gz
conf-da13b26bad886ce68a0356f2b9c8307cf7569de9.zip
convert scripts from pwsafe to pass
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ssh-add-helper3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ssh-add-helper b/bin/ssh-add-helper
index bfc2844..cae6f27 100755
--- a/bin/ssh-add-helper
+++ b/bin/ssh-add-helper
@@ -4,8 +4,7 @@ use warnings;
use IO::Pty::Easy;
my $hostname = `hostname`;
-open STDIN, '<', '/dev/tty';
-my $pass = `pwsafe -pE ssh.$hostname`;
+my $pass = `pass search ssh.$hostname`;
my $pty = IO::Pty::Easy->new;
$pty->spawn("ssh-add -t 1800 $ARGV[0]");
$pty->read;