ssh
cesaenzv
FREEOP

3 months ago

Hello team,

We are currently moving some agents into Railway.

These agents will require access to an external PostgreSQL database via an ssh tunnel connection.

Is that something we can achieve ?

$10 Bounty

1 Replies

3 months ago

Yes ... this is doable on railway. Install openssh client or autossh in your container and start an SSH local portforward to your bastion ..store the SSH private key and known_hosts as railway secrets, then point your app postgres URL to localhost:5432


Welcome!

Sign in to your Railway account to join the conversation.

Loading...