Sunday, September 24, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  7] [ 0]  / answers: 1 / hits: 7371  / 2 Years ago, mon, may 24, 2021, 4:59:31

For example, I ssh into a server and run a command say ... wget, then I close the terminial window. Do my download continue? Or does it depend on the app? If so how do I know?

More From » ssh


It depends.

If you're closing a SSH session, you're logged out and all active programs are killed. This might become problematic if you've frequent connection drops and therefore it's recommended to use the screen program in a SSH session if you do not want to loose your session on exit.

Most programs are gone after a closed SSH connection if they're run on the command line, e.g. nano or apt-get. do-release-upgrade also uses screen and won't be interrupted by a connection drop.

[#44558] Tuesday, May 25, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 200
Total Questions: 95
Total Answers: 132

Location: Tonga
Member since Mon, Aug 2, 2021
2 Years ago
iedncommon questions
Sat, Jun 4, 22, 18:20, 1 Year ago
Mon, Apr 4, 22, 08:10, 2 Years ago
Tue, Jul 6, 21, 15:11, 2 Years ago