shuttle icon indicating copy to clipboard operation
shuttle copied to clipboard

MacOS 环境下, 让 ssh走代理为什么 连接时间需要 60-80s左右?

Open vmvz opened this issue 7 years ago • 4 comments

情况表现如下:

  1. curl ip.cn 非常快
  2. ssh 服务器(1.1.1.1) socks连接,需要80s左右才能连上
  3. ssh连上以后 操作无卡顿
  4. 每次都是80s左右
  5. http 走代理连接http://1.1.1.1, 也是正常, 非常快.

什么原因? 应该如何排查

vmvz avatar Oct 02 '18 12:10 vmvz

看一下Dashboard确认一下ssh是否走代理了

sipt avatar Oct 08 '18 08:10 sipt

@sipt 确认走了代理.

一开始连的时候, Dashboard看不到请求, 等待连接成功以后, 就再Dashboard看见这个请求了

vmvz avatar Oct 08 '18 08:10 vmvz

我这里找了两台服务器试了一下,ssh =[SOCKS5]=> Shuttle ==> Proxy(JP) ==> AliYun(华东),基本都是秒连。能描述一下当时的服务器连接链路么?

sipt avatar Oct 09 '18 16:10 sipt

@vmvz 兄弟,你在mac下,能成功运行shuttle吗?我怎么运行失败呢?能否指点一二? https://github.com/sipt/shuttle/issues/51 谢谢回复

luckypoem avatar Oct 19 '18 06:10 luckypoem