questionbot Posted October 6, 2020 Share Posted October 6, 2020 If I SSH into unraid to run a command, say a copy that will take ages, can I close the terminal window and still have the command complete. As far as I know if I kill the terminal I have connected on, it will also kill the processes I am running in that terminal on the unraid server. Meaning I need to keep the terminal window open until the copy finishes.... Is there a way to SSH into the server, run a command then close my connection terminal and still have the commands running on the server? Quote Link to comment
Hoopster Posted October 6, 2020 Share Posted October 6, 2020 (edited) 18 hours ago, questionbot said: Is there a way to SSH into the server, run a command then close my connection terminal and still have the commands running on the server? Install screen from the Nerd Pack, start a screen session, run commands, close terminal window, reopen terminal and type screen -r to reattach to running screen session. When process finishes, close screen session. Edited October 6, 2020 by Hoopster 1 Quote Link to comment
Pillendreher Posted December 5, 2020 Share Posted December 5, 2020 I installed a Putty docker for this purpose. Just run the command in said docker and you can close the browser window/tab. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.