Is there much of an upside to doing the multiplexing on the client side instead of on the server (with something like tmux)?
It seems to me like the session persistence tmux gives would be worthwhile if you have a lot of simultaneous sessions going.
It seems to me like the session persistence tmux gives would be worthwhile if you have a lot of simultaneous sessions going.
scp remote:~/err[tab] .[enter]
Also, bastion connections get multiplexed as well so connecting to multiple different hosts behind the bastion goes faster.
ssh x
then in other windows, I do things like this: scp file x:
ssh x command
rsync from/ x:to/
emacs /ssh:x:filename (this is tramp mode)
edit: one more thing ssh x -o BatchMode=yes command
if you have an automatic script to run on a remote machine, adding BatchMode=yes will make it error out instead of stopping and asking for a passwordHaving multiple windows vs tabs on my desktop seems so much easier.
From what I gather, tmux is useful if you are basically running a persistent remote workspace via terminal on a server and treat your desktop like a thin-client, is that correct?