diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-26 15:49:26 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-26 15:49:26 +0700 |
| commit | 8cb9aa3566c73628e6878522cb9754b7ec687839 (patch) | |
| tree | d540f1241617c8bbc9c8d7f49278141bb6d047e7 | |
| parent | f90670ce9c57b7ef1b468d1f6872db2873d1148c (diff) | |
| download | awwan-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.
| -rw-r--r-- | awwan.go | 2 | ||||
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | go.sum | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -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 } @@ -8,7 +8,7 @@ go 1.20 require ( git.sr.ht/~shulhan/ciigo v0.11.0 github.com/evanw/esbuild v0.19.8 - github.com/shuLhan/share v0.51.1-0.20231222082140-8932e7ab20fc + github.com/shuLhan/share v0.51.1-0.20231225193715-bbefc9b4cd94 ) require ( @@ -6,8 +6,8 @@ git.sr.ht/~shulhan/go-x-crypto v0.17.1-0.20231222080754-445dd75cd339 h1:iq2/NVwT git.sr.ht/~shulhan/go-x-crypto v0.17.1-0.20231222080754-445dd75cd339/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= github.com/shuLhan/esbuild v0.19.9-0.20231209212032-2dc984ffc5f1 h1:U4DRlREmugTNkevukauQjjUsz82o3YRjtbxDILoN/Xs= github.com/shuLhan/esbuild v0.19.9-0.20231209212032-2dc984ffc5f1/go.mod h1:D2vIQZqV/vIf/VRHtViaUtViZmG7o+kKmlBfVQuRi48= -github.com/shuLhan/share v0.51.1-0.20231222082140-8932e7ab20fc h1:S5i3VxbBTnEGeeUIl12EXrSzk5KHyUOGoUcFZqdBp4E= -github.com/shuLhan/share v0.51.1-0.20231222082140-8932e7ab20fc/go.mod h1:aNDs/SjnVYXaLEEJzjmfrUFeLD6u0YHWy6pI8o8iqYw= +github.com/shuLhan/share v0.51.1-0.20231225193715-bbefc9b4cd94 h1:0pI1VYz7sj4jMjfViyDy26qFUokHozq8CGEfrHnDGm4= +github.com/shuLhan/share v0.51.1-0.20231225193715-bbefc9b4cd94/go.mod h1:aNDs/SjnVYXaLEEJzjmfrUFeLD6u0YHWy6pI8o8iqYw= github.com/yuin/goldmark v1.6.0 h1:boZcn2GTjpsynOsC0iJHnBWa4Bi0qzfJjthwauItG68= github.com/yuin/goldmark v1.6.0/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUeiOUc= |
