WinSCP.SessionRemoteException unexcept closed , need help

Advertisement

gliu
Joined:
Posts:
3

WinSCP.SessionRemoteException unexcept closed , need help

Hi Martin,
I have a app in windows use c# ,Winscp.dll, want to transmit some files to Sftp server in linux system ,can't connect to server . Throw exception , WInSCP.sessionRemoteException certificate rejected , I captrue some picture in question.rar .
Could you help me
Description: 1

Reply with quote

Advertisement

gliu
Joined:
Posts:
3

Re: WinSCP.SessionRemoteException unexcept closed , need help

I find a log, how to resend the password ?
//--------------
! 2013-03-29 17:43:30.500 Using username "root".
. 2013-03-29 17:43:30.515 Prompt (7, SSH password, , 密码(&P):)
. 2013-03-29 17:43:30.515 Disconnected: Unable to authenticate
//--------------

Reply with quote

gliu
Joined:
Posts:
3

Re: WinSCP.SessionRemoteException unexcept closed , need help

martin wrote:

I suppose, you just need to set the password using SessionOptions.Password:
https://winscp.net/eng/docs/library_sessionoptions

Hi ,
I did like this , it unable to authenticate ;
I have tryed many methrod, it doesn't work ;
I capture packets with wireshark.exe ;
Is it need a password when use SCP, but the WinSCP.exe can authenticate,
so i think there maybe has a command to send the password after session
open ;

! 2013-04-01 17:52:01.921 Using username "root".
. 2013-04-01 17:52:01.921 Prompt (7, SSH password, , &Password: )
. 2013-04-01 17:52:01.921 Disconnected: Unable to authenticate

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: WinSCP.SessionRemoteException unexcept closed , need help

Please attach a complete session log file for session, where you set SessionOptions.Password.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum