Furkan Türkal
Furkan Türkal
Hit the exact same issue. Any ideas on this? @melbahja @pinpox I'm using `go1.19`, `goph v1.3.0` on `Alpine 3.17`. ``` $ ssh -v localhost OpenSSH_9.0p1, OpenSSL 1.1.1q 5 Jul 2022...
Updated underlying `crypto` package to latest version `golang.org/x/crypto v0.6.0` but still no luck. @melbahja
Hey @melbahja, Upgraded to `v1.3.1` but still I got the following error with `$SSH_AUTH_SOCK`: ``` case goph.HasAgent(): auth, err = goph.UseAgent() ``` Resulting an error: ``` attempted methods [none publickey],...
> ssh -v Yep, it's working as expected. I can able to `ssh` to any remote instance using 1password's SSH Agent.
> I tried on my end and it works, is there anyway for me to reproduce it ? I really don't know what the problem is. `ssh -vvv foo@bar` simply...
Maybe could be: https://github.com/golang/go/issues/54027 or https://github.com/golang/go/issues/39885? Both `crypto` and `sys` packages is up-to-date and `v0.13.0`. I have [tried](https://github.com/golang/go/issues/54027#issuecomment-1420211355) `v0.0.0-20220314234659-1baeb1ce4c0b` as well but no luck. ``` $ ssh-add -l The agent...
OK. Finally found the issue after bunch of debugging, and filed an enhancement proposal. PTAL when possible: https://github.com/melbahja/goph/issues/57
Hey @melbahja! This would be really great contribution. I'm looking forward to this. Any plans to move forward on https://github.com/melbahja/goph/pull/34 by @SmsS4. I also have only SSH config file and...
Thanks for this! @SmsS4 I tried to use `NewWithConfigFile()` function with `goph.NewConn()` but got `open ~/.ssh/identity: no such file or directory` error. Any ideas? 🤔
Thanks for prompt reply! Also it'd be nice to add another function to return only `Auth`: ```go func GetAuth(host string) (goph.Auth, error) { auth, err := goph.Key(ssh_config.Get(host, "IdentityFile"), "") if...