S
S
Svav2016-12-10 16:58:57
linux
Svav, 2016-12-10 16:58:57

How to work through SSH without stopping the process after disconnecting?

In general, this is the task.
You need to somehow execute a command on a remote machine, which can take a day or two. But when SSH is disabled, the execution of the command stops. And the result is lost accordingly.
Tell me the software so that you can run several commands for execution, calmly close SSH and connect in an hour and see the whole result. And just a few teams.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2016-12-10
@Svav

screen, tmux

A
Alexander Karabanov, 2016-12-10
@karabanov

MOSH
And even on the phone

1
15432, 2016-12-10
@15432

nohup my_command >> output.txt &

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question