ssh-storm is a command line tool to manage your ssh connections.
$ [sudo] pip install ssh-storm
or if you like 90s:
$ [sudo] easy_install ssh-storm
or download add storm directory to the your $PATH
. E.g.
$ git clone git://github.com/gregorynicholas/ssh-storm.git
$ export PATH=$PATH:`pwd`/storm/storm/bin/; ssh-storm
$ ssh-storm add [-h] [--id_file ID_FILE] name connection_uri
Where -h
, id_file
are optional arguments.
example:
$ ssh-storm add my_vps [email protected]:22
my_vps added to your ssh config. you can connect it by typing "ssh my_vps".
$ ssh-storm edit [-h] [--id_file ID_FILE] name connection_uri
Where -h
, id_file
are optional arguments.
example:
$ ssh-storm edit my_vps [email protected]:2400
"my_vps" updated successfully.
$ ssh-storm delete name
example:
$ ssh-storm delete my_vps
success hostname "my_vps" deleted successfully.
$ ssh-storm search git
Listing results for git:
github -> [email protected]:22
$ ssh-storm list
Listing hosts:
vps -> [email protected]:22
netscaler -> [email protected]:8081
$ ssh-storm delete_all
all entries deleted.
If you use zsh on a mac and get "command not found: storm" for main storm script, make sure you have storm in your PATH.
example:
$ export PATH=$PATH:/usr/local/share/python/; ssh-storm
- user@server:port
- server:port
- server
defaults for user -> $USER, port -> 22
/see ssh_uri_parser for further look.
- @ras0ir - PKGBUILD for Archlinux and testing excessive ssh configs.
- @benvand
- @Bengt
- @henrysher
- @playpauseandstop