diff options
-rwxr-xr-x | src/seckey2sshagent | 4 |
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) |