~scompo@TTBP



25 november 2021

attaching to a remote tmux session via ssh

I've just found out that you can attach to a remote server tmux session using this command:

ssh -t user@remote.server tmux -a

That's pretty cool, using C-b d will disconnect the session as usual and come back to the local shell.

It would be even cooler to connect a local tmux server to a remote session tho, I'll look into that maybe.

A nice article about it

Bye.