Topic "WinSCP.SessionRemoteException unexcept closed , need help"

Author Message
gliu
[View user's profile]

Joined: 2013-03-29
Posts: 3
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
question.rar (229.18 KB) [Download]

Description: 1

Advertisements
gliu
[View user's profile]

Joined: 2013-03-29
Posts: 3
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
//--------------
1.log (3.83 KB) [Download]

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
I suppose, you just need to set the password using SessionOptions.Password:
https://winscp.net/eng/docs/library_sessionoptions
_________________
Martin Prikryl
gliu
[View user's profile]

Joined: 2013-03-29
Posts: 3
prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Please attach a complete session log file for session, where you set SessionOptions.Password.
_________________
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