Hacker News new | ask | show | jobs
by tantalor 1988 days ago
The very first thing I do whenever I ssh,

  $ screen -x
If you don't do this or something similar, then perhaps you should start now.

https://www.gnu.org/software/screen/

3 comments

I've always use `-D -R`. I just checked `man screen` and it actually states "This is the author's favorite."
That's my thing as well. Actually screen -rdU - U from old times when weird text chat apps were used with my weird non-utf locales.

Tried tmux a few times, but I'm not gonna re-learn everything every 15 years, come on! Also luckily when I switched jobs all admins used and installed screen everywhere, so that was an easy fit.

That doesn't really help when transfering a file. That was one of the user cases where the author had problem with.
Yes it would because the file transfer would continue inside the screen session instead of dying with the ssh session.
I think they meant they were using scp to transfer files from the remote computer to the local one.
That wouldn't be an "Idle SSH Session".
Or keeping an SSH session open for proxy tunneling when PuTTy is only capable of automatically reconnecting on certain disconnects and not others for some stupid reason.
rsync over ssh solves this... Just start it again and transfer the remaining part.