2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-04 21:08:27 +00:00
Alexander Neumann 05958caf6e sftp: Prompt for password, don't terminate on SIGINT
This is a follow-up on fb9729fdb9bf1e15dc6c90383df85a8968f6ddb0, which
runs the `ssh` in its own process group and selects that process group
as the foreground group. After the sftp connection is established,
restic switches back to the previous foreground process group.

This allows `ssh` to prompt for the password, but it won't receive
the interrupt signal (SIGINT, ^C) later on, because it is not in the
foreground process group any more, allowing a clean tear down.
2018-01-17 23:02:47 +01:00
..
2017-10-14 16:04:29 +02:00
2017-07-23 14:19:13 +02:00
2017-07-23 14:19:13 +02:00
2017-10-02 15:06:39 +02:00
2017-07-23 14:19:13 +02:00
2017-10-02 15:06:39 +02:00