RE: Limits on passphrase for ssh-agent?



I seem to remember that the key format is different between putty and
OpenSSH on Linux. A colleague of mine figured out the hoops to transform
the format, but I do not remember how it was done.

-----Original Message-----
From: listbounce@xxxxxxxxxxxxxxxxx [mailto:listbounce@xxxxxxxxxxxxxxxxx] On
Behalf Of Michael D. Berger
Sent: Friday, April 20, 2007 10:52 AM
To: secureshell@xxxxxxxxxxxxxxxxx
Subject: Limits on passphrase for ssh-agent?

On FC4 using openssh-4.2p1-fc4.1, I have
generated RSA keys with ssh-keygen, copied them
to a Win2k box, imported them into Putty, and
successfully used them. Now I tried to import
the original private key on the Linux box into
an ssh-agent with ssh-add. I enter the passphrase
with the mouse copy-and-paste capability and the
passphrase is rejected as bad. (I do the same
thing successfully on the Win2k box.) Could it be
that some characters should be disallowed from the
passphrase? Now, I allow characters:
if(isgraph(ch) && (ch != '\'')) . Should there be
further restriction? What else might be the
problem?

Thanks for your help.
Mike.
--
Michael D. Berger
m.d.berger@xxxxxxxx
http://www.rosemike.net/



Relevant Pages

  • Re: PuTTY with Linux
    ... > PuTTY's key format and OpenSSH's. ... I have generated a new SSH2 DSA key on my Linux box. ... I'm unable to import this key on Putty;-( ... "Couldn't load private key" ...
    (comp.security.ssh)
  • Re: ssh and private keys
    ... > How do I achieve the same in Linux? ... That works for me to connect Putty with my passphrase to Solaris, ... But to connect Linux ssh to a Unix/Linux box you would have to generate a ...
    (comp.os.linux.networking)
  • Re: ssh and private keys
    ... > How do I achieve the same in Linux? ... That works for me to connect Putty with my passphrase to Solaris, ... But to connect Linux ssh to a Unix/Linux box you would have to generate a ...
    (comp.os.linux.security)
  • Re: US Proxy ?
    ... This is not a public proxy server - in fact, it's not a web proxy server at all in the classical sense - so you are unlikely to be blocked. ... Install PuTTY on your own computer if you don't already have it. ... Type a passphrase into the "Key passphrase" and "Confirm passphrase" boxes. ... It'll fire up a login window and ask you for your passphrase - it's the one you used when you saved the .ppk file. ...
    (soc.genealogy.computing)
  • Re: US Proxy ? Linux client
    ... This is not a public proxy server - in fact, it's not a web proxy server at all in the classical sense - so you are unlikely to be blocked. ... Install PuTTY on your own computer if you don't already have it. ... Type a passphrase into the "Key passphrase" and "Confirm passphrase" boxes. ... It'll fire up a login window and ask you for your passphrase - it's the one you used when you saved the .ppk file. ...
    (soc.genealogy.computing)