[SunHELP] Copying ssh keys from windows to blade 1500 running Solaris 2.9

Will McDonald wmcdonald at gmail.com
Mon Aug 22 09:54:53 CDT 2005


On 22/08/05, Grindell, Joan M. <GrindellJ at sec.gov> wrote:
> Hoping for Help.
>
> I've searched the internet and tried all kinds of things on the blade.
>
> I brought up a new blade running Solaris 2.9 with Sun's ssh package.  I
> ported my public/private key pair to the server, moved the private key to
> .ssh/id_dsa and the public key to .ssh/id_dsa.pub.
>
> I then performed ssh-agent $SHELL
> Whenever I perform ssh-add and give it my passphrase I keep getting 'bad
> passphrase:'

I think "copying keys from Windows to Solaris" might be the pertinent info
here.

Keys generated with SSH Secure Shell for Workstations from ssh.com
(and, I suspect, those generated by Puttygen) are in a format not
natively understood by OpenSSH. From the ssh-keygen man page:

-i      This option will read an unencrypted private (or public) key file
        in SSH2-compatible format and print an OpenSSH compatible private
        (or public) key to stdout.  ssh-keygen also reads the SECSH
        Public Key File Format.  This option allows importing keys from
        several commercial SSH implementations.

Are the Sun packages built from OpenSSH? I don't have a Solaris box
handy to check.

Will.



More information about the SunHELP mailing list