Remote terminal application that allowsroaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.html
Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.python
Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, and Chrome. An iOS version is in testing.linux
Mosh 全名 Mobile Shell,是 MIT 推出的一个能够替代 SSH 的远程终端程序,适用于 GNU/Linux、FreeBSD、Solaris、Mac OS X 和 Android。它支持间断性链接,容许漫游,提供了本地回显和用户输入的行编辑。高延迟的网络下,Mosh 比 SSH 流畅多了,并且3G网络下,丢失网络变动IP后,终端链接不会中断。ubuntu
它是一个支持漫游的远程终端程序。centos
#yum install mosh -y
$ sudo apt-get install python-software-properties $ sudo add-apt-repository ppa:keithw/mosh $ sudo apt-get update $ sudo apt-get install mosh
#brew install mosh
参考官网https://mosh.org/ 首页安全
5.1 安装bash
须要在服务器端安装mosh,同时在你的电脑也安装服务器
个人服务器是centos7 ,操做的电脑的mac网络
因此在服务器上使用yum install -y moshapp
在mac上使用brew intstall mosh
5.1远程登陆
$ mosh root@192.168.0.150
http://www.68idc.cn/help/jiabenmake/qita/2014022369776.html
https://linux.cn/article-6262-1.html