7
7
7761662021-04-12 19:25:20
linux
776166, 2021-04-12 19:25:20

Is it possible to convert an ssh session opened in a terminal into a window manager session like screen or tmux?

subj

In order not to lose the session when the local terminal is closed.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Cheremisin, 2021-04-12
@leahch

You cannot remember an open session, but you can run screen or tmux via ssh, then it will be saved in the screen or tmux session until you end the session.
If the session is simply terminated, then you can return to it through screen -r.

K
ky0, 2021-04-12
@ky0

If by "do not lose the session" you mean a process that you have running in the terminal, then you can send it to run in the background with Ctrl+Z, bg, open screen/etc, and then return it with fg.

V
vreitech, 2021-04-12
@fzfx

what you are interested in is described here:
https://serverfault.com/questions/55880/moving-an-...
unfortunately I don't have time to translate it right now.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question