Topic "Server Refuse Our Key"

Author Message
BD98037

Guest


Hello,

I've spent two days on this issue and could not figure it out... Hope somebody could help me with it...

I created a key pair by using PuttyGen. The public key is given to the host admin, and I use the private key to connect to the host via WinSCP GUI (WinSCP.exe) and it is working fine; I can connect to the host without any problems.

The issue is that I could not use it via Command line (WinSCP.com) -- it throws server refuse our key error everytime. This happens the same when I try to connect via SSIS using .net assemly.

Would anybody know what is going on and how to fix it? What am I missing? What drives me crazy is I can connect via the WinSCP GUI (WinSCP.exe) but not via command line (WinSCP.com).

Thanks so much!
Advertisements
BD98037

Guest


Attached is a screenshot of the error...
ScreenShot.png (15.23 KB) [Download]

Description: (none)

BD98037

Guest


And attached is the log...

Thanks so much for your help!
test.log (5.28 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please attach unobfuscated log from the GUI as well as from the script. You can mark the attachments as private.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License