Commit 2c23960c authored by Niels Möller's avatar Niels Möller
Browse files

* src/ssh-conv: Support ssh-rsa keys.

Rev: src/ssh-conv:1.5
parent cd06e9e9
......@@ -16,7 +16,8 @@ awk 'BEGIN { state = 0; }
state == 1 && $0 ~ /^---- END SSH2 PUBLIC KEY/ { state = 2 }
state == 1 && $0 !~ /:/ { print }
state == 2 { next }
/^ssh-dss/ { print $2; }' \
/^ssh-dss/ { print $2; }
/^ssh-rsa/ { print $2; }' \
| $SSH_CONV -b
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment