Post a reply

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

tohu

WinSCP and Pagent Authentication

Hello

We use WinSCP 4.21 and the script language to transfer files to/from remote SFTP servers, most of our connections have been made by using password authentication, we are now going to use public key authentication and PuTTY Pageant mixed with password authentication, we noticed some problem when trying to connect to a remote server using only password authentication, the server answered with a disconnect message and did not allow the program to fallback to password authentication.

Question: is there a way to bypass the Attempt to use Authentication Using Pageant in the script language? E.g. we only want to use Pageant and public key authentication for some of our connections.

SFTP, errors exist, please check the event view
Searching for host...                      

Connecting to host...                     
Authenticating...                     
Using username "xxxx".         
Server sent disconnect message         
type 11 (by application):                     
""                   
Authentication log (see session log for details):         
Using username "xxxx".         
Authentication failed.                     
batch        on 
confirm      off 
No session.     
transfer     ascii                     
No session.     
No session.     
No session.