くんすとの備忘録

IT系技術メモ

移転しました。

15秒後に自動的にリダイレクトします。

FreeBSDでmoshを使ってみた

環境

サーバ:FreeBSD 10.2-RELEASE i386
クライアント:WIndows10 64bit (MSYS2)

手順

サーバ側

moshをインストール

pkg install mosh

moshさんからのメッセージ

Message from mosh-1.2.5:
=====================================================================
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.
=====================================================================

※必要なのはmoshのインストールのみ。rc.confへの追記などは不要。

クライアント側

moshのインストール

pacman -S mosh

接続(公開鍵認証)

mosh --ssh="ssh -i 秘密鍵" ユーザ名@ホスト名


以上。


パスフレーズ打つの面倒だしpageant使いまわしたい……