© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
5 replies
Relevant

SFTP through a proxy server

I'm using SSH.NET and since I'm unable to connect to production servers directly, I have to first SSH into an intermediary server (using a private key), which I can than use to SSH into the prod servers. It's working-ish, but I'm doing everything through shell streams and using regular expressions to filter the linux output. It's a bit of a mess. I'd really like to use SFTP to check files, but I haven't yet figured out a way to do this through another server using a private key.

I know it's a long shot, since this is a pretty specific need, but figured I'd check here to see if anyone has any ideas.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

SSH / SFTP Connections
C#CC# / help
7mo ago
ClickOnce Publish with SFTP
C#CC# / help
2y ago
Cant navigate to different directories in sftp server using SSH.NET
C#CC# / help
2y ago
NuGet behind a proxy
C#CC# / help
4y ago