summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-06-21 16:40:27 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-06-21 16:40:27 -0400
commita415f1cfcc2b588ef0efcb62b134639810eb820d (patch)
treefb295d358652c3dac3b6b24b73d5ce59212346c8 /src
parentf659da8ba2e184a9eb60da2d65c1e81c33f06772 (diff)
make the ssh-agent prompt from seckey2sshagent more intelligible
Diffstat (limited to 'src')
-rwxr-xr-xsrc/seckey2sshagent4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/seckey2sshagent b/src/seckey2sshagent
index d8e9b79..4d08c66 100755
--- a/src/seckey2sshagent
+++ b/src/seckey2sshagent
@@ -37,4 +37,6 @@ gpg --export-secret-key --export-options export-reset-subkey-passwd $GPGID | GNU
GNUPGHOME=$FOO gpg --edit-key $GPGID
-GNUPGHOME=$FOO gpg --export-secret-key $GPGID | openpgp2ssh $GPGID | ssh-add -c /dev/stdin
+ln -s /dev/stdin $FOO/monkeysphere-key
+
+GNUPGHOME=$FOO gpg --export-secret-key $GPGID | openpgp2ssh $GPGID | (cd $FOO && ssh-add -c monkeysphere-key)