Re: public-openssh and private keys from Unix puttygen seem to mismatch
- From: "Wences" <wgrillo@xxxxxxxxx>
- Date: 6 Jul 2006 15:02:29 -0700
Hi, it's me again!
I figured it out! So in case anyone else stumbles on the same rock,
this is the problem:
puttygen -t rsa -b 1024 -O private -o $file_name.ppk -q $file_name.pub
-q
puttygen $file_name.ppk -t rsa -b 1024 -O public-openssh -o
$file_name.pub -q
The second call to puttygen opens $file_name.ppk, but as there's also
"-t" and "-b" options, puttygen understands it should generate the key
anew. So you get non-matching keys.
The fixed lines:
puttygen -t rsa -b 1024 -O private -o $file_name.ppk -q $file_name.pub
-q
puttygen $file_name.ppk -O public-openssh -o $file_name.pub -q
Works like a charm!
Cheers:
Wences
.
- References:
- Prev by Date: public-openssh and private keys from Unix puttygen seem to mismatch
- Next by Date: Re: public-openssh and private keys from Unix puttygen seem to mismatch
- Previous by thread: public-openssh and private keys from Unix puttygen seem to mismatch
- Next by thread: Re: public-openssh and private keys from Unix puttygen seem to mismatch
- Index(es):