Topic "Unable to connect SFTP - no Shell access"

Author Message
netscooby
[View user's profile]

Joined: 2015-08-04
Posts: 2
After developing a solution in a lab on a server that I have shell access to, I tried to use my program on an external server. However, I was getting my session unexpectedly closed on connection attempt.

This looks like the issue, since I do not have shell access to the server:
https://winscp.net/eng/docs/message_unexpected_close

I will not be able to get shell access to the server I need. It seems a bit odd since the WinSCP program does not have an issue with this, just the .net api.

Is there a work around that I can use? Why the requirement for shell privileges?

Thank you
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please attach a complete session log file both from GUI and .NET assembly.
netscooby
[View user's profile]

Joined: 2015-08-04
Posts: 2
prikryl wrote:
Please attach a complete session log file both from GUI and .NET assembly.


Thanks - just pulling the logs did it for me. The server allows connections on port 22, but also a non standard port. I was to be using the non standard port, but was forgetting to set the port to non standard one. They are apparently processing the connections different on port 22. Once I changed where I am setting the port number, everything worked correctly. Thanks for the help.
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