2023-01-08 15:34:30 +01:00
|
|
|
Enhancement: Make `init` open only one connection for the SFTP backend
|
2022-08-20 19:49:30 +02:00
|
|
|
|
2023-01-08 15:34:30 +01: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 19:49:30 +02:00
|
|
|
connection.
|
|
|
|
|
2023-01-08 15:34:30 +01:00
|
|
|
This has now been fixed by reusing the first/initial SFTP connection opened.
|
2022-08-20 19:49:30 +02:00
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/2152
|
|
|
|
https://github.com/restic/restic/pull/3882
|