2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-22 21:05:10 +00:00
restic/internal/backend
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
..
azure backend: Make pagination for List configurable 2017-09-18 12:01:54 +02:00
b2 b2: Add pagination for List() 2017-09-18 12:13:35 +02:00
gs backend: Make pagination for List configurable 2017-09-18 12:01:54 +02:00
local local/sftp: Remove unneeded stat() call 2017-09-21 21:47:03 +02:00
location Merge pull request #1149 from restic/azure-support 2017-08-09 21:30:35 +02:00
mem Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
rest Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
s3 Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
sftp sftp: Allow password entry 2017-09-23 11:43:33 +02:00
swift Ignore "not exist" errors for swift backend tests 2017-09-16 13:59:55 +02:00
test backend: Improve TestList 2017-09-18 13:18:42 +02:00
testdata Moves files 2017-07-23 14:19:13 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
http_transport.go Run goimports 2017-07-23 14:21:03 +02:00
layout_default.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
layout_rest.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
layout_s3legacy.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
layout_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
layout.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
paths.go Moves files 2017-07-23 14:19:13 +02:00
semaphore.go Run goimports 2017-07-23 14:21:03 +02:00
utils_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
utils.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00