Dirk Schreiner said:
Miguel ALBUQUERQUE wrote:
piet
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 public.pub 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 my_linux_box_key.pub >> 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 public.pub > ~/.ssh/public_openssh.pub
cat public_openssh.pub >>authorized_keys
And don't forget to remove the previous entries for this key from
authorized_keys.
What is the output if you try to connect with putty on your suse server?
Try: plink.exe -v -i