Site Tools


start:reattach_ssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:reattach_ssh [2022/05/10 19:45] allebonestart:reattach_ssh [2024/02/26 05:06] (current) admin
Line 1: Line 1:
 +DATE CHECKED THIS PAGE WAS VALID: 14/09/2023 
 +
 On Ubuntu there is a cool feature if you have ssh'd into a computer and are doing a 'sudo do-release-upgrade' and trying to move to the next version via ssh but lose connection, you can then get back to it either by the console of via another new ssh session after reconnecting. On ubuntu you type "sudo screen -D -r" when wanting to get back to that. On Ubuntu there is a cool feature if you have ssh'd into a computer and are doing a 'sudo do-release-upgrade' and trying to move to the next version via ssh but lose connection, you can then get back to it either by the console of via another new ssh session after reconnecting. On ubuntu you type "sudo screen -D -r" when wanting to get back to that.
  
Line 11: Line 13:
  
 With byobu just logging back in reconnects (if auto start enabled) you to he last session automatically (even from console) so no commands needed to retrieve it but you can also select a session if there were multiple with the byobu-select-session command. It also lets you do silly things like split the screen and wotnot but we don't really talk about it. With byobu just logging back in reconnects (if auto start enabled) you to he last session automatically (even from console) so no commands needed to retrieve it but you can also select a session if there were multiple with the byobu-select-session command. It also lets you do silly things like split the screen and wotnot but we don't really talk about it.
 +
 +Last and best option is to install and learn how to use tmux. I recommend using tmux but it requires a lot of getting used to and there are many guides on this. I personally use tmux but have mentioned several ways to do this above.
start/reattach_ssh.1652211926.txt.gz · Last modified: 2022/05/10 19:45 by allebone