aboutsummaryrefslogtreecommitdiff
path: root/awwan.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-26 15:49:26 +0700
committerShulhan <ms@kilabit.info>2023-12-26 15:49:26 +0700
commit8cb9aa3566c73628e6878522cb9754b7ec687839 (patch)
treed540f1241617c8bbc9c8d7f49278141bb6d047e7 /awwan.go
parentf90670ce9c57b7ef1b468d1f6872db2873d1148c (diff)
downloadawwan-8cb9aa3566c73628e6878522cb9754b7ec687839.tar.xz
go.mod: update share module
The update on share module fix several issues in "lib/ssh/config". Including, * Fix on SSH Config the default values. Using Host with different Port now working as expected. * Refactoring the Config merge. Using IdentityFile or UserKnownHostsFile with relative path in ".ssh/config", for example UserKnownHostsFile known_hosts will now load the known_hosts in the same directory as config file.
Diffstat (limited to 'awwan.go')
-rw-r--r--awwan.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/awwan.go b/awwan.go
index 99cfec9..94e1262 100644
--- a/awwan.go
+++ b/awwan.go
@@ -477,7 +477,7 @@ func (aww *Awwan) loadSSHConfig() (err error) {
if baseDirConfig == nil {
return nil
}
- aww.sshConfig.Prepend(baseDirConfig)
+ aww.sshConfig.Merge(baseDirConfig)
return nil
}