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

martin

Re: WinSCP.SessionRemoteException unexcept closed , need help

Please attach a complete session log file for session, where you set SessionOptions.Password.
gliu

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
gliu

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
//--------------
gliu

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