Yet Another SSH Dialog Utility
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
ssh-dialog.rb
ssh-dialog.yml.dist

README.md

SSH-Dialog

Yet Another SSH Dialog Utility.

Features:

  • Ruby.
  • YAML configuration.
  • Gemfile.
  • Works on GNU/Linux, MacOS-X...

Tips:

  • You can share the YML config with multiple computers using dropbox or other services.

Requirements:

  • Ruby, via RVM or similar.
  • Dialog utility.
  • Any text editor.
  • SSH client.

License:

  • GPLv2, view the LICENSE file.

Install:

  • Install dialog command line utility:

    • Debian: apt-get install dialog
    • OsX: brew install dialog
  • 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!

Config file format:

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