![Share on Facebook Facebook](https://www.rootlinks.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/facebook.png)
![Share on Twitter twitter](https://www.rootlinks.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/twitter.png)
![Share by email mail](https://www.rootlinks.net/wp-content/plugins/social-media-feather/synved-social/image/social/regular/48x48/mail.png)
さて、CentOS 7にmoshをインストールできたのでMobaXtermでmoshサーバに接続してみます。
CentOS 7にmoshをインストール
https://www.rootlinks.net/2016/02/17/centos-7にmoshをインストール/
Mosh: the mobile shell
https://mosh.mit.edu/
MobaXterm free Xserver and tabbed SSH client for Windows
http://mobaxterm.mobatek.net/
MobaXtermを起動して[Seesion]から[Mosh]を選択して[Remote Host]を設定するだけです。
取り敢えず他はデフォルトで接続できました。
SSHの代わりになるかもしれない「Mosh」を使ってみました
http://blog.serverworks.co.jp/tech/2013/06/12/mosh-is-good/
ここにmoshの素晴らしい動作が記載されています。
IPが変わっても繋がりっぱなしってにわかに信じられないですよね。
試しにsshとmoshで接続した状態でWindows PCを休止モードにして、暫くしてから起動したらsshは切断され、moshは何事もなかったかのように作業が継続できました。
サーバ側ではmoshで接続するとmosh-serverが起動します。
1 2 |
[root@host01 ~]# pgrep -a mosh 68848 mosh-server new -s -c 256 -l LANG=ja_JP.UTF-8 -l LC_ALL=ja_JP.UTF-8 LC_CTYPE=ja_JP.UTF-8 |