Skip to content

syabruk/sshc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#ssh + controller = sshc

SSHC is the storage for your SSH connections. You don't need to remember username, host or port number from your SSH credentials anymore.

##Installation

mkdir -p ~/.oh-my-zsh/custom/plugins
cd ~/.oh-my-zsh/custom/plugins
git clone git://github.com/SeTeM/sshc.git

And then enable sshc plugin in your oh-my-zsh config.

##Usage

$ sshc --add server_name development [email protected]
$ sshc --add server_name test test@test -p 3001
$ sshc --add my_awesome_server global [email protected]

$ sshc server_name test  #=> ssh [email protected]
$ sshc server_name test  #=> ssh test@test -p 3001
$ sshc my_awesome_server  #=> ssh [email protected]

$ cd ~/projects/my_awesome_server
$ sshc => sshc my_awesome_server global

$ sshc -l

my_awesome_server:
    [email protected]
server_name:
    [email protected]
    test=test@test

$ sshc --update => fetch fresh version of sshc from git

If you have ideas on how to make the it better, don’t hesitate to fork and send pull requests!

About

Manage ssh connection information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages