Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

jorgefuertes/ssh-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Yet Another SSH Dialog Utility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages