Post a reply :: Support Forum

Tip: Styles can be applied quickly to selected text.

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

netscooby

Re: Unable to connect SFTP - no Shell access

martin 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.
martin

Re: Unable to connect SFTP - no Shell access

Please attach a complete session log file both from GUI and .NET assembly.
netscooby

Unable to connect SFTP - no Shell access

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