textmate / rmate

Edit files from an ssh session in TextMate
http://blog.macromates.com/2011/mate-and-rmate/
514 stars 81 forks source link

Add documentation for permanently forwarding the correct port #58

Closed sblackstone closed 5 years ago

sblackstone commented 5 years ago

This is useful information for a user.

sorbits commented 5 years ago

Wouldn’t this cause a problem if creating two connections to the host (as second one would fail to setup the forward)?

sblackstone commented 5 years ago

The second one fails because the port is already in use on the host. The first one stays up.

sorbits commented 5 years ago

I forgot about this one, sorry. It has now been merged.

As for problems though: There is both the minor problem that you get a warning message on second connection to the host, but also that if you close the first connection you made to the host, you lose the port forwarding.