Code Monkey home page Code Monkey logo

Comments (7)

zrbecker avatar zrbecker commented on September 2, 2024 5

For anyone doing this with a AWS bastion to an RDS instance you want to do

ssh -N -L 15432:endpoint.rds.amazonaws.com:5432 username@public-ip-ec2-bastion

from postbird.

smoothdvd avatar smoothdvd commented on September 2, 2024 2

working on it

from postbird.

Paxa avatar Paxa commented on September 2, 2024 1

I think it's gonna be useful, will add it.

For now you may open ssh tunnel manually and connect to local port of a tunnel

from postbird.

Paxa avatar Paxa commented on September 2, 2024 1

I've got somehow working code on local, but not proper yet, I will try push something soon

from postbird.

Paxa avatar Paxa commented on September 2, 2024 1

To make ssh tunnel you may run locally

ssh [email protected] -L 15432:127.0.0.1:5432 -N
                          ^ local port     ^ remote port

and connect to your localhost on port 15432, but it won't work with unix socket connection

from postbird.

tobymao avatar tobymao commented on September 2, 2024

for anyone who's gotten this to work, could you provide how you did it?

i've tried various solutions like ssh and sshuttle without success

my server only allows localhost connection and have connected to it in the past with apps like postico which do support ssh tunneling

from postbird.

tobymao avatar tobymao commented on September 2, 2024

thank you, i independently also just figured it out and got it working using a command similar to yours

from postbird.

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.