在hax上直接启动cloudflared,提示:
Connection terminated error="failed to accept QUIC stream: timeout: no recent network activity" connIndex=3
按照网上的说法指定协议为http2,能够正常启动。但是本地(Termux)使用ssh命令连接(已经配置本地cloudflared代理),提示:
Connection closed by UNKNOWN port 65535
加上 -v
,输出:
OpenSSH_9.9p1, OpenSSL 3.3.2 3 Sep 2024
debug1: Reading configuration data /data/data/com.termux/files/usr/etc/ssh/ssh_config
debug1: /data/data/com.termux/files/usr/etc/ssh/ssh_config line 20: include /data/data/com.termux/files/usr/etc/ssh/ssh_config.d/*.conf matched no files
debug1: /data/data/com.termux/files/usr/etc/ssh/ssh_config line 51: Applying options for ssh.xxx.example.com
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Executing proxy command: exec /data/data/com.termux/files/usr/bin/cloudflared access ssh --hostname ssh.xxx.example.com
debug1: identity file /data/data/com.termux/files/home/.ssh/id_rsa type 0
debug1: identity file /data/data/com.termux/files/home/.ssh/id_rsa-cert type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ecdsa type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ecdsa-cert type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ecdsa_sk type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ed25519 type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ed25519-cert type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ed25519_sk type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_xmss type -1
debug1: identity file /data/data/com.termux/files/home/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_9.9
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
是http2协议的cloudflared不支持ssh,还是配置有问题,或者是cloudflared不能用三级域名(ssh.xxx.example.com)?