Topic "Connecting to MOVEit Server with SFTP."

Author Message
mwetmore
[View user's profile]

Joined: 2014-05-23
Posts: 5
Location: Philadelphia, Pennsylvania US
WinSCP Version 5.5.3 (Build 4214) (OS 6.1.7601 Service Pack 1 - Windows 7 Ultimate)
I upgraded to the latest .net assembly package, 5.7.0. Same results from the program and the GUI.

The Ipswitch web site (search for MOVEit) has winSCP listed as a supported FTP/SSL client but only partially supported as an FTP/SSH client. My application is VB.NET. What follows demonstrates this.

This works on another server but not on MOVEit
Code:

.Protocol = WinSCP.Protocol.Sftp
.HostName = My.Settings.Host.Trim
.UserName = My.Settings.SAPUID.Trim
.SshHostKeyFingerprint = My.Settings.HostFingerprint.Trim
.SshPrivateKeyPath = My.Settings.PrivateKeyFile.Trim


This works on MOVEit but I'd rather not have an exposed password
Code:

.Protocol = WinSCP.Protocol.Ftp
.FtpSecure = WinSCP.FtpSecure.Implicit
.HostName = My.Settings.Host.Trim
.UserName = My.Settings.SAPUID.Trim
.Password = My.Settings.Password.Trim


The server owner is moving from the one that works with SFTP to MOVEit. The private keys are identical on the two servers. The public keys have a PUB extension. Here's the failure point in a Debug 1 log:
Code:

. 2015-03-19 13:47:20.735 Offer of public key accepted
! 2015-03-19 13:47:20.735 Authenticating with public key "rsa-key-20140528"
. 2015-03-19 13:47:20.906 Sent public key signature
. 2015-03-19 13:47:20.906 Waiting for the server to continue with the initialization
. 2015-03-19 13:47:20.922 Detected network event
! 2015-03-19 13:47:20.922 Server refused public-key signature despite accepting key!
. 2015-03-19 13:47:20.953 Server refused public-key signature despite accepting key!
. 2015-03-19 13:47:20.953 Prompt (7, SSH password, , &Password: )

Have you had any contact with Ipswitch regarding this? I mention the PUB extension because (Googling) that may have solved similar problems on other servers. I have asked for it to be removed. That may take a couple of days.

Could it have something to do with the private key permissions? I've had that cause problems.

Thanks in advance.

Michael Wetmore.
winscp.zip (5.23 KB) Private file

Description: 2 sessions - first fails to Moveit, second succeeds to old server.

Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Can you try to enable Requires padding on SSH-2 RSA signatures?
http://winscp.net/eng/docs/ui_login_bugs

Please, post a log file for the new test (using the latest version of WinSCP).
mwetmore
[View user's profile]

Joined: 2014-05-23
Posts: 5
Location: Philadelphia, Pennsylvania US
For an SFTP connection the server wanted the user-id to be domain\account. For FTP/SSL it worked without the domain. I was led toward a client problem because of the qualified compatibility with winSCP on the server vendor's web site.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Thanks for sharing your solution.
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