SSH Considered Harmful – Why You Should Be Using Persistent Sessions
software.rajivprab.com
SSH Considered Harmful – Why You Should Be Using Persistent Sessions
1–7 of 7 posts
Re: SSH Considered Harmful – Why You Should Be Using Persistent Sessions
#2Dramatic title for a post which basically says "use tmux".
Re: SSH Considered Harmful – Why You Should Be Using Persistent Sessions
#3> ssh -X $host -t "tmux -CC attach -t $session_name || tmux -CC new -s $session_name"
or you could just
ssh -X $host -t "screen -R"Re: SSH Considered Harmful – Why You Should Be Using Persistent Sessions
#4Honestly, there's nothing there that is harmful about SSH. The article is just suggesting you use tmux and to do so securely, over the wire, you'll still need SSH.
Re: SSH Considered Harmful – Why You Should Be Using Persistent Sessions
#5Harmful? Really? The hyperbole of that statement stands in stark contrast to the rest of your post, which indeed is quite helpful, especially for those that haven’t heard of screen and/or tmux.
Perhaps a better title would be: “Raw SSH can be frustrating - here’s one way to fix that.”
Re: SSH Considered Harmful – Why You Should Be Using Persistent Sessions
#6It seems silly for the author to have titled this "SSH considered harmful" when they literally use SSH in their suggested alternative.
That said, https://mosh.org/ is also a good alternative to a plain old SSH connection.
Re: SSH Considered Harmful – Why You Should Be Using Persistent Sessions
#7Yes I always use tmux.