Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: SSH/SCP with Key Auth from windows to Linux box

I do not understand how this is connected to WinSCP?
Anyway I have no hint for you, sorry :-(
webwarrior

SSH/SCP with Key Auth from windows to Linux box

We are having an issue using SCP/SSH on Windows to Linux

When I run SCP from the command line using key authentication, everything works fine.
When we run it from perl script, the following happens (running on windows 2000, connecting to Linux host)

debug3: Not a RSA1 key file c:\\cygwin\\home\\root\\id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'


What's odd is that the script worked fine until we moved both servers to a new network and new ip addresses.

I really don't think the new network and ip addresses are causing this since we can do it manually.

I have RSA and DSA auth enabled in the sshd_config file on the Linux server.

Here is the manual command, it works fine

$ scp -i id_dsa POOP saleskit@ns2.blah.com:/home/saleskit
POOP 100% 0 0.0KB/s 00:00

I have only seen this error when trying to ssh/scp from windows to linux (from command line). If I take the same keys and place them on a linux workstation, and then connect to another linux box, the keys work.