diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-13 12:48:07 -0400 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2008-06-13 12:48:07 -0400 |
commit | 5c84af854b419250a79352ffc0bf4d66d1982d6a (patch) | |
tree | 83935215f795af32857463d139d58c126a36eb85 | |
parent | b93d6398d799376a572414a30d7b4f02beadd137 (diff) | |
parent | 220a0fb50691a6cf3db9624275d46a6f730f55c6 (diff) |
Merge commit 'jrollins/master'
-rw-r--r-- | man/man1/monkeysphere.1 | 1 | ||||
-rw-r--r-- | src/common | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/man/man1/monkeysphere.1 b/man/man1/monkeysphere.1 index 636adcb..d00a9db 100644 --- a/man/man1/monkeysphere.1 +++ b/man/man1/monkeysphere.1 @@ -107,5 +107,6 @@ Written by Jameson Rollins <jrollins@fifthhorseman.net> .PD .SH SEE ALSO .BR ssh (1), +.BR monkeysphere-ssh-proxycommand (1), .BR gpg (1), .BR monkeysphere-server (8) @@ -98,7 +98,7 @@ gpg2known_hosts() { echo -n "$host " gpg --export "$keyID" | \ openpgp2ssh "$keyID" | tr -d '\n' - echo "MonkeySphere${DATE}" + echo " MonkeySphere${DATE}" } # convert key from gpg to ssh authorized_keys format @@ -109,9 +109,9 @@ gpg2authorized_keys() { keyID="$1" userID="$2" - echo -n "MonkeySphere${DATE}:${userID}" gpg --export "$keyID" | \ - openpgp2ssh "$keyID" + openpgp2ssh "$keyID" | tr -d '\n' + echo " MonkeySphere${DATE}:${userID}" } # userid and key policy checking |