Code Monkey home page Code Monkey logo

Comments (2)

sixtyfive avatar sixtyfive commented on August 20, 2024 1

Oh dang, of course, why didn't I think of that–thank you very much, @thingalon! Unfortunately with the current situation & "home"-"office" (aka "no, I'm swamped") there's no way I can get into a new language/environment atm. Hopefully someone who already has some experience with writing VSCode plugins will come along and treat us to that PR at some point :)

from pony-ssh.

thingalon avatar thingalon commented on August 20, 2024

Pony-SSH doesn't have in-built proxy connection support at this time, though I would be completely open to receiving a PR to add the feature. :)

In the meantime, I think you can set this up by manually opening a forwarding connection to your proxy.

Try this: In a terminal (or WSL session if you're on Windows), open a connection to your proxy host forwarding a local port of your choice to port 22 on your destination machine:

ssh -L 2222:your.target.server.com:22 your.proxy.server.com

Once you've done that, any connections to port 2222 on your local machine should get forwarded to port 22 on your.target.server.com

From there, you should be able to connect using a Pony-SSH config like this:

"proxied-host": {
    "host": "localhost",
    "port": 2222,
    "username": "username-from-the-target-server",
    "agent": true,
}

I know it's not as convenient as having in-built proxy support in Pony-SSH, but hopefully this can get you up and running for now. Let me know how you get on.

from pony-ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.