mosh

提供: FreeBSD入門
2014年3月10日 (月) 00:29時点におけるDaemon (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索
スポンサーリンク

mosh (MObile SHell, mobile shell) とは、ローミングを許し、断続的な接続性をサポートし、インテリジェントなローカルエコーとユーザーキーストロークの行編集を提供するリモートターミナルアプリケーションです。moshは、sshを置き換えます。moshは、とくに Wi-Fi, セルラー、長距離な接続において、より強力で反応が速いです。

読み方

mosh
もっしゅ
mobile shell
もばいる しぇる

概要

mosh は、モバイル時代のsshです。 ネットワークの接続が切れても、問題ありません。再接続可能な場所に移動すれば、自動的に接続が復帰します。IPが変わっても問題ありません。

インストール

pkgコマンドでインストールする場合

sudo pkg install mosh
Updating repository catalogue
The following 2 packages will be installed:
 
        Installing protobuf: 2.5.0_1
        Installing mosh: 1.2.4
 
The installation will require 8 MB more space
 
1 MB to be downloaded
 
Proceed with installing packages [y/N]: y
protobuf-2.5.0_1.txz          100%  968KB 242.0KB/s 358.1KB/s   00:04
mosh-1.2.4.txz                100%  177KB 176.9KB/s  76.9KB/s   00:01
Checking integrity... done
[1/2] Installing protobuf-2.5.0_1... done
[2/2] Installing mosh-1.2.4... done
======UNIQ516f955b668a0bb1-h-2--QINU===============================================================
Please note that mosh requires UTF-8 character set.  To set this on a
per-user basis, you should add the following to ~/.login_conf:
me:\
        :charset=UTF-8:\
        :lang=en_US.UTF-8:\
        :setenv=LC_COLLATE=C:
 
This only needs to be completed on the client.
======UNIQ516f955b668a0bb1-h-3--QINU===============================================================

設定

 

使い方

コマンドラインオプション

Usage: /usr/local/bin/mosh [options] [--] [user@]host [command...]
        --client=PATH        mosh client on local machine
                                (default: "mosh-client")
        --server=COMMAND     mosh server on remote machine
                                (default: "mosh-server")
 
        --predict=adaptive      local echo for slower links [default]
-a      --predict=always        use local echo even on fast links
-n      --predict=never         never use local echo
        --predict=experimental  aggressively echo even when incorrect
 
-p PORT[:PORT2]
        --port=PORT[:PORT2]  server-side UDP port or range
 
        --ssh=COMMAND        ssh command to run when setting up session
                                (example: "ssh -p 2222")
                                (default: "ssh")
 
        --no-init            do not send terminal initialization string
 
        --help               this message
        --version            version and copyright information
 
Please report bugs to mosh-devel@mit.edu.
Mosh home page: http://mosh.mit.edu

関連項目





スポンサーリンク