|
|
|
|
|
by zamadatix
1029 days ago
|
|
For forwarding I almost never do -f. It can be a footgun in making it hard to tell which forwards are still open or operational. -t is a cool trick, didn't know about that one. An important note that's easy to overlook in the ~ escape command list is you can nest the escape when in nested sessions (i.e. if you're not using -J for whatever reason). Cool list, it definitely lines up with what I've found useful and had a few more. |
|
$ ssh -t my-dev-vps 'tmux new-session -A -s main'
So each time I run it I'm right back where I left off.