.screenrc
# Save this in ~/.screenrc
# Use bash
shell /bin/bash
autodetach on
# Big scrollback
defscrollback 5000
# No annoying startup message
startup_message off
# Display the status line at the bottom
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.kW}%-w%{.bW}%t [%n]%{-}%+w %=%{..G} %H %{..Y} %Y/%m/%d %c"
create screen session “CopyTar” to avoid ssh/vpn timeouts
[server ~]# screen -dmS CopyTar
copy tar file over ssh inside screen session “CopyTar” to avoid ssh/vpn timeouts
[server ~]# screen -r "CopyTar" -X stuff "CMD"