Answer the question
In order to leave comments, you need to log in
Will the process continue running after the SSH connection is terminated?
Hello, I'm an inexperienced Linux user. I work with the server remotely (on my Windows machine) via SSH. I upload the database on the server (the database is large - a long process). The connection with the server is lost during the filling process. For some, this may be a ridiculous question, but still: will the operation of filling the database (from the same server) be interrupted at the moment when my computer's connection with the server is interrupted. If not interrupted - how can I see the result of the operation? Thanks in advance, pluses to the authors are guaranteed.
Answer the question
In order to leave comments, you need to log in
Read about the nohup or screen / tmux commands.
They just allow you to start a process on a remote machine so that if the connection to the remote machine is interrupted, the process running there will not be interrupted.
If you directly upload the database from your computer, then yes, it will be interrupted
. If you connect to the server via SSH and download this database from some external source, for example, using wget, then no. Regardless of what happens to your computer, the server will continue to quietly download the file from an external source.
No (answer to the question in the title). Yes (answer to the question from the text of the question).
I do not know how you connect, most likely through Putty. There is also such a programm as MobaXterm - it is intended for the same purposes. So there are a lot of goodies in it, maybe it has the tools mentioned above like tmux and the rest.
It is good to run this type of work through screen or a more modern version - tmux, as Dmitry Belyaev advised above
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question