ssh 连接很慢
Tofloor
poster avatar
cander56
deepin
2019-08-18 07:46
Author
如题,  不知道是什么问题,   终端ssh命令 连接远程服务器
Reply Favorite View the author
All Replies
avatar
liangqq
deepin
2019-09-02 04:04
#1
同感,不知道为什么
Reply View the author
avatar
jmjoy
deepin
2019-09-02 06:52
#2
自己的网络问题
Reply View the author
avatar
deepinuser17
deepin
2019-09-02 07:52
#3
可能的问题:

1. 域名解析很慢
2. 网路延迟很高
3. 远端的机器很慢

检查测试:
1. 命令
  1. time dig <域名>
Copy the Code

2. 命令
  1. ping <域名>
  2. traceroute <域名>
Copy the Code

3. 在远程机器上,运行
  1. top
  2. free
Copy the Code

如果iowait很高,说明文件系统很慢; 如果CPU使用率很高,说明机器很忙
Reply View the author
avatar
187******09
deepin
2019-09-02 17:05
#4
修改 /etc/ssh/sshd_config 里的:
  1. UseDNS yes
Copy the Code
改成no,然后:
  1. systemctl restart sshd
Copy the Code
重启sshd服务(systemctl或者service,看你用的是啥了)
Reply View the author
avatar
a957176113
deepin
2019-11-02 23:53
#5
你还嫌慢 能用就不错了  我还没有SSR节点可以用 也不会自己搭建SSR节点  国内只要分享这个技术就要被封杀  无语
Reply View the author
Comments
ghostry
2019-11-02 23:57
楼主说的是别的软件.
avatar
a957176113
deepin
2019-11-03 00:07
#6
https://bbs.deepin.org/post/182003
你还嫌慢 能用就不错了  我还没有SSR节点可以用 也不会自己搭建SSR节点  国内只要分享这个技术就要被封杀   ...

网上说 反正SSR和SSH 2款软件  有一样的功能 只是用起来不一样 懂得人自然懂SSH干嘛用
,可能吧楼还有别的用处
Reply View the author
avatar
jian555gg
deepin
2019-11-03 00:24
#7
ssh -v 看看详情
Reply View the author