日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

centos 6 安装mosh 1.2

發布時間:2023/12/10 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 centos 6 安装mosh 1.2 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

關于mosh(引用于)

芬蘭研究員Tatu Yl?nen于1995年設計出最早的SSH協議,它迅速成為最流行的遠程登錄安全協議。17年后,一組MIT的***提出了mosh,讓SSH走向現代化。mosh是基于新的State Synchronization Protocol(SSP)協議,運行在UDP上,能同步不同主機對象的狀態,加密和認證使用AES-128。當客戶在WiFi網絡中漫游或切換到3G網絡,mosh能保持連接不斷,在輸入和刪除命令時它能即時反饋,不會出現惱人的延遲。?

centso 6 mosh安裝,提前配置好centos及epel yum倉庫。

  • ./configure?--prefix=/usr/local/mosh??
  • make??
  • make?install?
  • 安裝完后的情況:

    ?

  • ?./mosh?--help?
  • Usage:?./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?
  • ?
  • -p?NUM??--port=NUM???????????server-side?UDP?port?
  • ?
  • ????????--ssh=COMMAND????????ssh?command?to?run?when?setting?up?session?
  • ????????????????????????????????(example:?"ssh?-p?2222")?
  • ????????????????????????????????(default:?"ssh")?
  • ?
  • ????????--help???????????????this?message?
  • ????????--version????????????version?and?copyright?information?
  • ?
  • ?

    中間遇到幾個錯誤,google了下沒找到相關記錄,在此記錄下。

  • configure:?error:?cannot?find?protoc,?the?Protocol?Buffers?compiler?
  • 解決方法:
  • yum install -y protobuf-devel
    ?
  • ?

  • configure:?error:?Unable?to?find?libtinfo?or?libncurses.?
  • 解決方法:
  • yum install ncurses-devel
  • ?

  • ./mosh?--help?
  • Can't?locate?IO/Pty.pm?in?@INC?(@INC?contains:?/usr/local/lib64/perl5?/usr/local/share/perl5?/usr/lib64/perl5/vendor_perl?/usr/share/perl5/vendor_perl?/usr/lib64/perl5?/usr/share/perl5?.)?at?./mosh?line?24.?
  • BEGIN?failed--compilation?aborted?at?./mosh?line?24.?
  • 解決方法:
  • cpan 安裝IO::Pty模塊

  • 使用方法:

    ?

  • ./mosh?root@yourip?--server=/usr/local/mosh/bin/mosh-server??
  • ?

    轉載于:https://blog.51cto.com/itchen/856151

    總結

    以上是生活随笔為你收集整理的centos 6 安装mosh 1.2的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。