Gentoo Archives: gentoo-user

From: Raffaele BELARDI <raffaele.belardi@××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: [gentoo-user] update remote system in background
Date: Fri, 24 Apr 2020 07:47:35
Message-Id: AM0PR10MB243646166EA5270EABE3C040F7D00@AM0PR10MB2436.EURPRD10.PROD.OUTLOOK.COM
1 Hello,
2
3 I am able to ssh into a remote system that I would like to update. I'd like to run emerge without keeping the local system connected for the whole duration of the update (probably several days). Is it possible to:
4
5 - ssh remote_machine
6 - emerge -uDvN world
7 - background and detach in some way the emerge process
8 - logout from ssh
9 - several days later, ssh into the remote_machine, reattach the emerge and check the output or continue the emerge
10
11 Thanks,
12
13 raffaele
14
15 PS I'll do it _after_ openssh update.

Replies

Subject Author
Re: [gentoo-user] update remote system in background Vladimir Romanov <blueboar2@×××××.com>
Re: [gentoo-user] update remote system in background Michele Alzetta <michele.alzetta@×××××.com>