restic/internal
Alexander Neumann fb9729fdb9 sftp: Allow password entry
This was a bit tricky: We start the ssh binary, but we want it to ignore
SIGINT. In contrast, restic itself should process SIGINT and clean up
properly. Before, we used `setsid()` to give the ssh process its own
process group, but that means it cannot prompt the user for a password
because the tty is gone.

So, now we're passing in two functions that ignore SIGINT just before
the ssh process is started and re-install it after start.
2017-09-23 11:43:33 +02:00
..
2017-09-23 11:43:33 +02:00
2017-09-09 13:26:35 +02:00
2017-07-23 14:21:03 +02:00
2017-07-23 14:19:13 +02:00
2017-09-11 21:48:25 +02:00
2017-07-23 14:19:13 +02:00
2017-07-23 14:21:03 +02:00
2017-07-23 14:21:03 +02:00
2017-09-22 12:37:05 +02:00
2017-09-09 13:26:35 +02:00
2017-07-23 14:21:03 +02:00