2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-22 14:48:24 +00:00
restic/internal
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-11-24 20:53:26 +01:00
2017-11-01 10:30:40 +01:00
2017-07-23 14:21:03 +02:00
2017-07-23 14:19:13 +02:00
2017-11-01 10:30:40 +01:00
2017-10-25 12:03:55 -04:00
2017-07-23 14:21:03 +02:00