@jpmens with tmux I simply use:

tmux new -As SessionName

For screen:

screen -ADRU SessionName

To avoid typing command I use ssh.sh shell script which basically executes tmux on remote machine :-) will need to polish it a bit to decide on its own if it should use tmux or screen.

@ivan I’ve updated the post with credit to you, thanks.

Sign in to participate in the conversation
Tomica's Mastodon instance

social.tomica.me is one server in the network