Comments (32)
挖个坟,我也遇到这个问题很久都不知道为啥,今天突然解决了,因为我清除了所有known_hosts……用socks5代理时ssh会使用之前的存在的known_hosts而不是/etc/hosts文件里指定的ip(并不知道为什么)
from clash.
刚试了一下还是不行,报错也变成这样了。
zsh:1: command not found: connect
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
from clash.
我也遇到了这个问题,只要ssh服务器走代理就没法连接,我通过把ssh服务器的ip设为DIRECT解决了问题。
from clash.
试了一天也发现了,TG socks5 没问题,xshell 和 flashfxp socks5 无法连接
from clash.
from clash.
time="2018-11-28T20:54:27+08:00" level=info msg="myiphere match FINAL using Others"
这样的日志吗?我用的lhie的规则,Others走代理,不知道还有没有其他的日志,这边只有简单的。@beyondkmp
from clash.
macOS 下 ok,用的是 ProxyCommand nc -x localhost:7891 -X 5 %h %p
from clash.
from clash.
@beyondkmp 我这么设置的。
port: 1080
socks-port: 1081
redir-port: null
allow-lan: true
mode: Rule
log-level: debug
external-controller: '127.0.0.1:9090'
secret: ''
from clash.
@Dreamacro 我是windows端的,用的clash for windows
,不知道该怎么处理啊。
from clash.
windows 下没有类似 ~/.ssh/config
这样的配置吗,如果有试试我上面那个
from clash.
@Dreamacro 哦,这个啊,我试试看,我平常直接用xshell,就没有这样弄过。
from clash.
用1081的socks代理端口,xshell 不支持http代理吧。
from clash.
@beyondkmp 两个我都试过了,都是这样。
from clash.
@Dreamacro windows powershell里的ssh好像不行,不加这句直连可以,加了就显示下面的,我弄个linux子系统试试。
CreateProcessW failed error:2
posix_spawn: No such file or directory
from clash.
@Dreamacro 顺便我发现config.yml
里的log-level
似乎没有用,log文件里一直都是info
级别。
from clash.
配置里的等级是二进制 stdout 的输出等级,GUI 里面调用日志接口是自己控制等级的
from clash.
time="2018-11-28T20:54:27+08:00" level=info msg="myiphere match FINAL using Others"
这样的日志吗?我用的lhie的规则,Others走代理,不知道还有没有其他的日志,这边只有简单的。@beyondkmp
这个规则能不能改下,改成最简单的Proxy,就用一个规则
from clash.
如果 Clash 能支持多种协议就是个完美的系统代理管理工具了。希望能加入 HTTP, HTTPS 等协议支持
from clash.
如果 Clash 能支持多种协议就是个完美的系统代理管理工具了。希望能加入 HTTP, HTTPS 等协议支持
from clash.
@ZvonimirSun 还有什么疑问吗
from clash.
@ZvonimirSun MobaXterm Personal 10.6 + cfw v 0.5.3 ,同样无法使用 cfw 的 socks5 或 http 代理连接 SSH 。请问你的 xshell 的问题解决了吗?
from clash.
from clash.
from clash.
我也遇到了这样的问题,是通过shellclash连接的
from clash.
我也遇到了这个问题,只要ssh服务器走代理就没法连接,我通过把ssh服务器的ip设为DIRECT解决了问题。
请问一下是怎么改的呢?是在profile文件里加一条 - IP-CIDR, x,x,x,x, DIRECT 这样的吗?
from clash.
我也来记录一下,clash和V2rayN等如果设置的代理端口是socks 7890,但是走http的话默认端口号+1,所以要在~/.ssh/config中写代理为:
Host github.com
User git
ProxyCommand connect -H 127.0.0.1:7891 %h %p
from clash.
刚试了一下还是不行,报错也变成这样了。 zsh:1: command not found: connect kex_exchange_identification: Connection closed by remote host Connection closed by UNKNOWN port 65535
今天遇到了一样的问题, 折腾了好一阵子, 对面的 ssh 端口是否是默认的 22?
我把对面端口改成自定义的, 就可以连接了.. 不太懂是为什么
from clash.
挖个坟,我也遇到这个问题很久都不知道为啥,今天突然解决了,因为我清除了所有known_hosts……用socks5代理时ssh会使用之前的存在的known_hosts而不是/etc/hosts文件里指定的ip(并不知道为什么)
可以是这个原因.. #挖坟
from clash.
之前一直可以的 不太清楚原因 直连的话确实可以 但是通过socks5就会报错
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535
from clash.
刚试了一下还是不行,报错也变成这样了。 zsh:1: command not found: connect kex_exchange_identification: Connection closed by remote host Connection closed by UNKNOWN port 65535
对于Proxycommand,linux上用nc命令,windows上用connect,可以参考这篇文章
from clash.
xshell
我是windows也可以这么设置吗
from clash.
Related Issues (20)
- [Feature] <建议在yml可以定义变量和重用> HOT 2
- [Feature] SUBNET 支持
- [Feature] 提供一个内置的域名的 dashboard 服务
- [Bug] Config file parsing error HOT 2
- [Bug] TUN device does not accept IPv6 traffic, even if the routes are added manually. Willing to help. HOT 2
- [Feature] Trojan + TCP + http header
- [Feature] <能否支持,子规则> HOT 1
- [Feature] 想问一下如何尽量规避代理udp 域名时的DNS污染 HOT 8
- [Bug] 1.18.0版本ss obfs插件问题 HOT 6
- [Bug] 以proxy-providers的形式配置wireguard
- [Bug] 以proxy-providers形式配置wireguard类型的Outbound
- [Bug] Premium HOT 1
- [Feature] nameserver-policy 支持系统默认 DNS
- [Feature] 配置项 ebpf.redirect-to-tun 可以支持 auto-detect-interface ?
- [Feature] default proxy for GLOBAL
- Installation of clash-linux-armv5 on RT-AC86U not working
- [Feature] <增强"rule groups"的 可配置性,添加诸如sub-rule、更多条件判断……等等> HOT 21
- [Bug] <centos 7 amd64运行问题> HOT 1
- [Feature] <可以提升一下clash的并发能力吗> HOT 5
- [Feature] Allow Lan Bind 网卡IP 本机127.0.0.1无法访问 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clash.