Are there the servers at home, or the on-premise servers at office?
If no, the mosh is your best friend and this article is just a waste of time.

But if yes, the Rosh might help your life.
Rosh is the roaming shell like the mosh.
But it can track the server even if its IP address change.
It reconnects to the server by resolving the hostname each time.

You can use the local DNS such as the dnsmasq for your on-premise servers so that you can resolve the server by same name no matter where you are.

The usage of Rosh is simple, like this

sh>>
gem install rosh
rosh yourserver.com session-name
<<--

It installs the nested GNU screen session remotely at the given server.
You can omit the session-name, "default" is used as the name.
Then, Rosh connects to the session via the SSH.

If you want to detach the session, type Ctrl+t d.
On the second time you connect, Rosh reuses the remote session.

Requirements

  • SSH
  • Ruby at your machine (2.0.0 or later. Sorry, I don't have 1.9.x or older)
  • GNU screen at remote servers
posted by genki genki on Thu 22 Aug 2013 at 17:16 with 0 comments
Contents rssrss
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Droonga関連の記事のまとめ
RuntimeErrorの特定のメッセージに限定してrescueする方法
jQueryでscriptタグを実行せずにappendする
Tags
coffeescriptdefergroongajsmemonodenodejs
Comments rssrss
https://xn--mgmarkt6-9db.com https://xn--mgmarkt6-9db.com: Как обезопасить хранилище криптовалюты: сравнение... 04/23 20:02
https://www.lifnest.com/author/bradwhiddon136/ https://www.lifnest.com/author/bradwhiddon136/: Лучший bulk index checker из тех, что я пробовал... 04/23 10:21
https://mklider.ru/katalog/protivopozharnoe-oborudovanie/predohranitel-ognevoy-zhidkostnyy-pozh/ https://mklider.ru/katalog/protivopozharnoe-oborudovanie/predohranitel-ognevoy-zhidkostnyy-pozh/: За многие годы работы по производству резервуаров ... 04/23 10:05
https://landminder.com/author/sharonhindman https://landminder.com/author/sharonhindman: Работает стабильно даже на больших объемах данных. 04/23 05:59
https://mimrent.com/author/laylazercho023/ https://mimrent.com/author/laylazercho023/: Good blog. I really liked this. Many thanks for ... 04/23 02:56
https://xn--mgmrket6-px0d.com https://xn--mgmrket6-px0d.com: Как отличить настоящее зеркало MEGA от подделки в ... 04/22 23:19
https://xn--mgmarkt5-9db.com https://xn--mgmarkt5-9db.com: Как проверить безопасность MEGA: аудит аккаунта в ... 04/22 23:08
https://uae.buyallasia.com/author-profile/lilianahornick/ https://uae.buyallasia.com/author-profile/lilianahornick/: Пользуюсь IndexChecker уже месяц, полет нормальный... 04/22 20:07