Article 4W706 proxyjump to reverse ssh connection on bastion?

proxyjump to reverse ssh connection on bastion?

by
nicedreams
from LinuxQuestions.org on (#4W706)
I have a linux box connected via reverse ssh to a cloud server. From there I can ssh into that connected box from cloud server doing: ssh localhost -p 5432

What I want to do is be able to proxyjump from home to cloud server into the box connected via reverse ssh. I've tried multiple commands where this seems most logical

ssh -J user@cloudserver.com localhost:5432

but doesn't work. My logic is I jump to user@cloudserver.com and connect to it's localhost:5432 port which would be the reverse ssh connected box.

It it possible to proxyjump to a reverse connected ssh tunnel? Do I not use -J flag?latest?d=yIl2AUoC8zA latest?i=8TZvoku3M6Q:hw0gIJJPBZ8:F7zBnMy latest?i=8TZvoku3M6Q:hw0gIJJPBZ8:V_sGLiP latest?d=qj6IDK7rITs latest?i=8TZvoku3M6Q:hw0gIJJPBZ8:gIN9vFw8TZvoku3M6Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments