1
ruixue 2022-05-22 14:28:52 +08:00
给 ssh 套个代理试试
|
2
Buges 2022-05-22 14:30:42 +08:00 via Android
ssh -v
|
3
youthfire OP @ruixue 我是 surge 开增强模式当网关用,似乎默认执行的就是 final 代理,是需要额外配置什么规则么?
@Buges 之前没用过,是需要看诊断信息么? OpenSSH_8.6p1, LibreSSL 3.3.6 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: include /etc/ssh/ssh_config.d/* matched no files debug1: /etc/ssh/ssh_config line 54: Applying options for * debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling debug1: Connecting to 173.242.123.7 [173.242.123.7] port 28421. debug1: Connection established. debug1: identity file /Users/tim/.ssh/id_rsa type -1 debug1: identity file /Users/tim/.ssh/id_rsa-cert type -1 debug1: identity file /Users/tim/.ssh/id_dsa type -1 debug1: identity file /Users/tim/.ssh/id_dsa-cert type -1 debug1: identity file /Users/tim/.ssh/id_ecdsa type -1 debug1: identity file /Users/tim/.ssh/id_ecdsa-cert type -1 debug1: identity file /Users/tim/.ssh/id_ecdsa_sk type -1 debug1: identity file /Users/tim/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /Users/tim/.ssh/id_ed25519 type -1 debug1: identity file /Users/tim/.ssh/id_ed25519-cert type -1 debug1: identity file /Users/tim/.ssh/id_ed25519_sk type -1 debug1: identity file /Users/tim/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /Users/tim/.ssh/id_xmss type -1 debug1: identity file /Users/tim/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_8.6 kex_exchange_identification: Connection closed by remote host |
4
Buges 2022-05-22 14:48:58 +08:00 via Android 1
@youthfire
>Connection established 连上了,与中间链路无关,你服务器 sshd 配置问题。 另外你 IP 暴露了,v2ex 是无法删帖和编辑的,建议下次发这种内容放到一个 pastebin 服务上并设置自动过期。 |
6
toptitles 2022-05-22 17:17:20 +08:00 1
换端口
|
7
Tyuans 2022-05-22 20:31:40 +08:00 1
我前一阵也是,出国报错好像 tls 握手有问题,然后登陆 ssh 就费劲。时不时掉线。用普通的 ss 似乎又没问题。不知道怎么回事儿。过几天自己好了。
机器是日本大阪。 |