Converting key between PEM and ASCII

Damien Miller djm at mindrot.org
Sat May 31 10:48:25 EST 2003


Al Banard wrote:
> According to documentation for a switch which I'm getting SSH enabled,
> I need to convert my openssh public key to an ascii string to be compatible 
> with the switch. The switch uses sshV1. Is there a way to do this? I've 
> found nothing in the man pages or FAQ and have tried the -x -X (-i -e) 
> arguments without success but I think they relate to a different translation 
> anyway.

You need to generate a SSH protocol 1 key first (ssh-keygen -t rsa1).
Then all you need to do is "cat ~/.ssh/identity.pub".

-d





More information about the openssh-unix-dev mailing list