Call GetSSHClient once in a full sync procedure, reusing the client (fixes multiple keyfile passphrase prompts)

This commit is contained in:
2024-08-11 15:01:24 -04:00
parent 102ef6955c
commit 9f43337437
4 changed files with 36 additions and 40 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ See the [developer guide](https://github.com/rwinkhart/libmutton/blob/main/wiki/
# Roadmap
#### Release v0.2.1
- [ ] Only run getSSHClient once to prevent being asked for keyfile password multiple times
- [x] Only run getSSHClient once to prevent being asked for keyfile password multiple times
- [ ] After this, handle all errors in sync/client.go
- [ ] Ensure all config files and entry files are created with 0600 permissions
- [ ] Add fail-specific error codes