trzsz / trzsz-ssh

trzsz-ssh ( tssh ) is an ssh client designed as a drop-in replacement for the openssh client. It aims to provide complete compatibility with openssh, mirroring all its features, while also offering additional useful features. Such as login prompt, batch login, remember password, automated interaction, trzsz, zmodem(rz/sz), udp mode like mosh, etc.
https://trzsz.github.io/ssh
MIT License
1.74k stars 102 forks source link

在 Android Termux 中使用 tssh 域名时, 会出现域名dns解析错误 #153

Closed fa1seut0pia closed 3 weeks ago

fa1seut0pia commented 3 weeks ago
~ $ tssh qwer@6.ipw.cn
dial tcp [6.ipw.cn:22] failed: dial tcp: lookup 6.ipw.cn on [::1]:53: read udp [::1]:48654->[::1]:53: read: connection refused
~ $

这是一个已知问题, 这可以看到相关的讨论 https://github.com/jeessy2/ddns-go/pull/682

解决方案有2种: 方案1. 自定义dns地址, 如 go-frpddns-go 都有使用这种方案, 比较简单 方案2. 专门使用 termux 打了补丁的 golang 环境构建, 比如 carapace-sh, 相对复杂