Back to Codinn

Ssh port forwarding to a socket on the target host

socket-file
tunnel
improvement

(Brian) #1

I’m using SSH Tunnel – great app btw! This may be a UI limitation, but I’d like to setup port-forwarding to a remote socket.

E.g.
ssh -NL localhost:1234:/var/run/mysocket.sock target_host

Is this supported?

Thanks!
-Brian


(Yang.Y) #2

@briantd tunneling via unix socket file is not supported for now, is it possible to change your socket file ("/var/run/mysocket.sock") into a normal TCP/IP address (i.e. host: port pair)?


(Brian) #3

As far as I know, it’s not possible to make that change.


(Yang.Y) #4

I’m sorry to hear that.

It’s an important feature, and we will try to add this ability in the future release.


(Mark Minnoye) #5

Hi,

I have a very similar request.
I’m a huge sublime text fan and use rmate to edit remote files.https://wrgms.com/editing-files-remotely-via-ssh-on-sublimetext-3/
As such it would be nice if I could just add the following parameter to the ssh cml : -R 52698:localhost:52698.
Or configure the port to be forwarded.

Thanks for the nice app !
Mark