Server Refuse Our Key

Advertisement

BD98037
Guest

Server Refuse Our Key

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!

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,271
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

Reply with quote

Advertisement

You can post new topics in this forum