Yet Another SSH Dialog Utility.
- Ruby.
- YAML configuration.
- Gemfile.
- Works on GNU/Linux, MacOS-X...
- You can share the YML config with multiple computers using dropbox or other services.
- Ruby, via RVM or similar.
- Dialog utility.
- Any text editor.
- SSH client.
- GPLv2, view the LICENSE file.
-
Install dialog command line utility:
- Debian:
apt-get install dialog
- OsX:
brew install dialog
- Debian:
-
Clone this repo and cd into his dir.
-
Bundle, install gem dependencies:
bundle install
-
Make config dir:
mkdir -p ~/.config
-
Copy the config example file:
cp ssh-dialog.yml.dist ~/.config/ssh-dialog.yml
-
Use your favorite editor to make your own config.
-
Exec
./ssh-dialog.rb
, link to anywhere on your path...
I hope you like it!
defaults:
# Optional: Defaults to current user if not exists
username: root
groups:
# Any group title
group-1:
# Optional: Key filename for this group
key: ~/.ssh/id_rsa
hosts:
# Host title
own-server-one:
# FQDN or IP address
hostname: my.server.tdl
# Optional: Key filename. Overrides group key
key: ~/.ssh/id_rsa
# Optional: Default or current username is used if not especified
username: root
# Optional: Port number, standar 22 if not especified
port: 222