Unable to connect SFTP - no Shell access

Advertisement

netscooby
Joined:
Posts:
2

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Unable to connect SFTP - no Shell access

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

Reply with quote

netscooby
Joined:
Posts:
2

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.

Reply with quote

Advertisement

You can post new topics in this forum