Mailinglist Archive: opensuse-security (138 mails)

< Previous Next >
Re: [suse-security] encore:.. winscp& openssh
  • From: piet <prooroa@xxxxxxxxxx>
  • Date: Wed, 14 Dec 2005 21:17:06 +0100
  • Message-id: <43A07DC2.9030306@xxxxxxxxxx>
Dirk Schreiner wrote:

Miguel ALBUQUERQUE wrote:
piet <prooroa@xxxxxxxxxx> wrote on 14.12.2005 17:04:19:

ok people,

server is 9.3 suse open ssh

xp-box is winscp.
I made a public & private key with PuTTY, copy-paste the public to a
PuTTyKey-gen on my XP box stated I should copy & paste the key for open-ssh: so that's what I did.

text file: renamed it
put it in /home/xxxx/.ssh

You did export it as openssh-key right?

touch authorized_keys
chmod 600 authorized_keys
cat >>authorized_keys

loaded private key (private.pkk) in peagent key on de xp-box

but cannot login why????

I guess, becaus you didn`t ;-) .

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.

Test the connection.
connection failed....
so I guess there is something else wrong.. but what??

Delete the private key on the Linux Box.

Have fun.

Dirk TRIA IT-consulting GmbH Joseph-Wild-Straße 20 81829 München Germany Tel: +49 (89) 92907-0 Fax: +49 (89) 92907-100 Registergericht München HRB 113466 USt.-IdNr. DE 180017238 Steuer-Nr. 802/40600 Geschäftsführer: Richard Hofbauer kaufm. Geschäftsleitung: Rosa Igl--------------------------------------------------------
Nachricht von: Dirk.Schreiner@xxxxxxx Nachricht an: miguel.albuquerque@xxxxxxxxxx, prooroa@xxxxxxxxxx, suse-security@xxxxxxxx # Dateianhänge: 0

< Previous Next >
Follow Ups