LoginSignup
1
1

More than 5 years have passed since last update.

Goの勉強がてらにssh先を登録しておいて、選択して接続するツール作ってみた

Last updated at Posted at 2017-02-01

Goでコマンドラインツール作ってみようと思い立ったので、最近ssh先が多くてわちゃわちゃしてきたなというのもあって、ssh先を保存しておいて、一覧から選択してsshするツール作ってみました。

github

使い方

以下でインストールして

$ go get -u github.com/h-tko/goshel
$ goshel

でコマンド起動、もしくは

$ goshel -l

で登録されている接続先一覧表示。

だけです、一旦。

設定ファイルはただのcsvなのでめんどくさかったら手でいじる設計に。

Goからコンソールをクリアする(/usr/bin/clear的なこと)方法がわからず対話の部分が汚くなってくのなんとかしたい、、、orz

1
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1