openssh with puttygen'ed keys problem

From: ordimus (williammbradley@msn.com)
Date: 10/03/02


From: williammbradley@msn.com (ordimus)
Date: 3 Oct 2002 07:14:21 -0700

Hi,

I have a linux server with openssh. I generated my SSH2 keypairs with
puttygen. I catted the public key into the
$HOME/.ssh/authorized_keys2 file. I added the private key to pageant
and then connect to the openssh linux server from windows using PuTTY
, no problem.

However, when I try and use the same private key from a linux box with
"ssh -i private.key user@host". ssh wont accept the passphrase for my
key. When i throw in a -v i get ....
Enter passphrase for key 'private.key':
debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>

any ideas......



Relevant Pages

  • Re: How to limit user on default directory
    ... Do I need to install it on my linux server so ... > as to limit user access right? ... You need to modify the OpenSSH source code with one of the patches. ...
    (comp.security.ssh)
  • How secure is ssh?
    ... We are attempting to explain that putting the same user account (with a ... have the private key for the account -- is a bad idea. ... able to provide some "realistic" numbers on what it would take to crack ... just one openssh private key. ...
    (comp.security.ssh)
  • Can I set SSH directory different from $HOME/.ssh?
    ... which is default location for public & private key? ... currently doing is public key authentication on OpenSSH 3.4 & Red Hat ... Because I had pub. key authentication work with test account ...
    (comp.security.ssh)
  • Converting Securecrt private key to unix
    ... We are using SecureCRT 3.0, 3.1 and 3.2 to ssh to our unix hosts, which run ... OpenSSH 2.9p2 using SSH2 with public and private key pairs. ...
    (comp.security.ssh)
  • Converting privatekey SSH2 --> OpenSSH ... Bad magic
    ... When I'm trying to convert a private key in the SSH2 ... format (created by F-Secure SSH) to OpenSSH, ... Importing same key on server B with OpenSSH 4.3p2 ... Mail has the best spam protection around ...
    (SSH)