NEWS COMMUNITY STORE TUTORIALS LINUX SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS LINUX TOGGLE FULLSCREEN VOLLBILD AN/AUS image/svg+xml image/svg+xml image/svg+xml Persistent Terminal Session
Keep terminal sessions alive over multiple logins
image/svg+xml image/svg+xml Keep terminal sessions alive over multiple logins image/svg+xml
quick-tip img:not(.icon) quick-tip img:not(.icon) quick-tip img[data-info] APP | VERSION
Linux/Ubuntu 22


RELATED TAGS
linux, session, terminal, keep alive, server, remote


QUESTIONS
How can I run a program via terminal that keeps the connection via ssh?
What do I need to run a terminal session for a long time?
How do I keep a process running when ssh closes?


LINKS
TMUX cheat sheet
Sometimes it's useful to continue a terminal session. For instance, when you run apps, that need to be running all the time. You can do this with the application tmux .

    Login
Login on the remote server via ssh you@local:$ssh root@{server-adress}


    Install tmux
If not already installed, install tmux root@server:$sudo apt install tmux


    Start Persistent Session
To start a session, create a new session with the below command and give it a name like 'my-server' root@server:$tmux new -s myserver


    Detach from Session
To detach from the session, press CTRL + B and than D


    Reconnect to Session
Later, you can return to the session with: root@server:$tmux attach -t myserver




APP | VERSION
Linux/Ubuntu 22


RELATED TAGS
linux, session, terminal, keep alive, server, remote


QUESTIONS
How can I run a program via terminal that keeps the connection via ssh?
What do I need to run a terminal session for a long time?
How do I keep a process running when ssh closes?


LINKS
TMUX cheat sheet
LINUX






All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...