debiancdn

AWS, Content Delivery Network and Debian

Amazon Linuxでmosh

moshがはやっていて、最近いいかんじにつかっているのだが、AmazonLinuxでつかってなかったので試した。

yumで一発にはなってないのでちまちまとコンパイル.

まず下準備

$ sudo yum -y --enablerepo=epel install boost-devel zlib-devel ncurses-devel protobuf-devel autoconf automake gcc gcc-c++

お次はgitからソースをもってくる。

$ git clone https://github.com/keithw/mosh

コンパイルとインストール

$ cd mosh
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install

すると、

/usr/local/bin
/usr/local/bin/mosh-server
/usr/local/bin/mosh-client
/usr/local/bin/mosh

あたりができてる。

security groupにmoshをつくって60000-61000のudpを開放する。その後で、つないでみる。

mosh --ssh="ssh -i .ssh/secretkey" ec2-user@a.b.c.d

Amazon Linuxでmosh」への2件のフィードバック

  1. ピンバック:公開懺悔日記 » Moshを利用してみる

  2. ピンバック:Moshを利用してみる | 公開懺悔日記2

コメントを残す