2023-01-08 14:34:30 +00:00
|
|
|
Enhancement: Make `init` open only one connection for the SFTP backend
|
2022-08-20 17:49:30 +00:00
|
|
|
|
2023-01-08 14:34:30 +00:00
|
|
|
The `init` command using the SFTP backend used to connect twice to the
|
|
|
|
repository. This could be inconvenient if the user must enter a password,
|
|
|
|
or cause `init` to fail if the server does not correctly close the first SFTP
|
2022-08-20 17:49:30 +00:00
|
|
|
connection.
|
|
|
|
|
2023-01-08 14:34:30 +00:00
|
|
|
This has now been fixed by reusing the first/initial SFTP connection opened.
|
2022-08-20 17:49:30 +00:00
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/2152
|
|
|
|
https://github.com/restic/restic/pull/3882
|