Mailinglist Archive: opensuse-security (138 mails)

< Previous Next >
Re: [suse-security] encore:.. winscp& openssh
  • From: "Michel Messerschmidt" <lists@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Dec 2005 09:40:53 +0100 (CET)
  • Message-id: <59678.>
Dirk Schreiner said:
> Miguel ALBUQUERQUE wrote:
>> piet <prooroa@xxxxxxxxxx> wrote on 14.12.2005 17:04:19:
>>> I made a public & private key with PuTTY, copy-paste the public to a
>>> text file: renamed it
>>> put it in /home/xxxx/.ssh
> You did export it as openssh-key right?
> [...]
> Give it a try the other way:
> use ssh-keygen on the linux box.
> ssh-keygen -b 4096 -t rsa -C my_linux_box_key -f my_linux_box_key
> Give a propper passphrase.
> cat >> authorized_keys
> Copy the my_linux_box_key to youre win Box, and open
> the key with puttygen.
> Save it afterwards in ppk format and use this key to
> connect to the linux box.

It's better to convert the public key from putty into openssh format.
This can be done by hand or with ssh-keygen:
ssh-keygen -i -f > ~/.ssh/
cat >>authorized_keys

And don't forget to remove the previous entries for this key from

What is the output if you try to connect with putty on your suse server?
Try: plink.exe -v -i <privatekey.ppk> <user>@<host>

< Previous Next >
Follow Ups