Timeline for How do I close an SSH connection with a background process without killing it?
Current License: CC BY-SA 4.0
        8 events
    
    | when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 22, 2021 at 15:32 | vote | accept | Saverio Guzzo | ||
| Oct 19, 2021 at 18:38 | comment | added | frippe | If your use case is just a one-off job, go with the already proposed solutions. However, if by any chance your use case is to ssh to the server to start an application or service that will run continuously, you may want to look at a systemd service. | |
| Oct 19, 2021 at 17:32 | history | migrated | from serverfault.com (revisions) | ||
| Oct 19, 2021 at 14:26 | answer | added | Saverio Guzzo | timeline score: 2 | |
| Oct 8, 2021 at 8:17 | comment | added | Saverio Guzzo | thanks! if you're happy with it please write it as an answer and i'll accept it | |
| Oct 6, 2021 at 19:23 | comment | added | Brandon Xavier | 
        
            
    Start the process with nohup and the &.  For example, nohup some-long-running-process &.  Although as @Nikita Kipriyanov suggested, screen is a much better option.
        
     | 
|
| Oct 6, 2021 at 17:49 | comment | added | Nikita Kipriyanov | 
        
            
    Use GNU Screen gnu.org/software/screen instead of backgrounding a process.
        
     | 
|
| Oct 6, 2021 at 17:27 | history | asked | Saverio Guzzo | CC BY-SA 4.0 |