Zerorigin
Zerorigin
> 需要 go 的 agent 库 https://pkg.go.dev/golang.org/x/crypto/ssh/agent 支持才能做到。可能已经支持了吧,但我没找到相关的资料和 API,不知怎么传 host 相关的信息给 ssh agent 。 需要这边提供 ssh -vvv 的链接日志么?
> IdentitiesOnly 已支持,SSH agent restriction 可能要等 go agent 支持 [golang/go#63949](https://github.com/golang/go/issues/63949) tssh v0.1.22 能正常认证,tssh v0.1.23 无法通过认证 ``` # tssh.v0.1.22 --debug host_alias debug: open C:\Users\\.tssh.conf success debug: Language = Chinese debug: SetTerminalTitle...
可能是`IdentityFile`的搜索和引用逻辑有点问题
> tssh v0.1.22 能认证,是因为它不管 `IdentitiesOnly` 这个配置,它用 ssh agent 登录了。 > > tssh v0.1.23 不能认证,是因为它支持了 `IdentitiesOnly` 这个配置,你配置了 `IdentitiesOnly yes`,tssh 不再使用 ssh agent 了,它在找 `C:\Users\\.ssh\user_key-cert.pub.d\host_domain_or_ipaddr` 这个文件来登录,但是这个文件打不开,就登录失败了。 不过,好像 ssh 又能找到这个文件,你这个文件是什么情况? 这个文件的设置,是按我自己博客里之前折腾的来配置的,ssh 找不到`C:\Users\\.ssh\user_key-cert.pub.d\host_domain_or_ipaddr`这个文件(这个文件实际并不存在,在配置里它只是个占位符),好像就会尝试用`C:\Users\\.ssh\user_key-cert.pub.d\host_domain_or_ipaddr.pub`这个文件。
@lonnywong 这个是更详细的连接过程日志 ``` # ssh -vvv host_alias OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2 debug1: Reading configuration data C:\\Users\\/.ssh/config debug3: kex names ok: [diffie-hellman-group1-sha1] debug1: C:\\Users\\/.ssh/config line 78: Applying options for host_alias debug1: C:\\Users\\/.ssh/config...
盲猜,大概率是没公网 IPv4 或 NAT1 类型的内网 IPv4 家宽 但是有公网 IPv6,只不过在偶尔会不可用,建议稍微延迟启动下 qBee 然后根据这边操作,参考 https://github.com/c0re100/qBittorrent-Enhanced-Edition/issues/269#issuecomment-2395100637 此楼层的方法解决此问题
> >  软件upnp  lu路由器upnp界面  双网证明 上面那个配置看看,Windows 系统的 IPv6 管理是有点问题的。
> Can you please clarify - are you talking about the query log? You say "Querying DNS records" but I think you mean "Querying the log via WebGUI of DNS...