0%

mosh解决ssh远程连接延迟

安装mosh

1
2
sudo apt-get install mosh //server
brew install mobile-shell //mac

需要先设置本地

locale-gen zh_CN.UTF-8

远程服务器开启 mosh-server

需要aws开启udp mosh的端口

客户端连接

1
mosh ubuntu@ec2-54-191-9-26.us-west-2.compute.amazonaws.com -ssh="ssh -i 'aws.pem'"
给作者打赏,鼓励TA抓紧创作!