mirror of
https://github.com/octoleo/restic.git
synced 2024-11-29 16:23:59 +00:00
cf0a8d7758
This is especially useful if ssh asks for a password or if closing the initial connection could return an error due to a problematic server implementation.
12 lines
460 B
Plaintext
12 lines
460 B
Plaintext
Enhancement: only open connection once for `init` command using sftp backend
|
|
|
|
The `init` command using the sftp backend used to connect twice to the
|
|
repository. This can be inconvenient if the user must enter a password or cause
|
|
`init` to fail if the server does not correctly close the first sftp
|
|
connection.
|
|
|
|
This has been fixed by reusing the initial sftp connection.
|
|
|
|
https://github.com/restic/restic/issues/2152
|
|
https://github.com/restic/restic/pull/3882
|