-
-
Save CN-CODEGOD/db6608871145d75af4368752077b997c to your computer and use it in GitHub Desktop.
网络vps的ssh卡顿
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 关于这个问题,我是非常头疼的 | |
| 因为我搭的节点十分差,不能使用ssh来解决 | |
| 所以我半路去整了个别的IP结果不是IP问题 | |
| 是这个线路问题 | |
| 线路会导致ssh假死卡顿 | |
| 但是如果你用节点来代理ssh,这个问题会变得十分简单,只需要用vpn来代理这个ssh | |
| 你就可以轻松解决ssh的卡顿问题 | |
| 过程: | |
| 方法一: | |
| 设置终端的环境变量 | |
| bash: | |
| export ALL_PROXY=socks5://127.0.0.1:7890 | |
| Powershell: | |
| $env:ALL_PROXY="socks5://127.0.0.1:7890" | |
| 端口如果是v2rayN则设置10808 | |
| 这个变量设置是一次性的,如果需要使用多次则需要在系统环境变量里添加 | |
| 方法二: | |
| 打开tun模式 | |
| tun模式能打开设置终端代理。 | |
| 在v2rayN找到左下角的一个tun的设置,点击设置打开 | |
| clash里找到设置,tun模式常规,然后打开tun模式 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment