Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2013-01-29 | 990 Bytes | |
LICENSE.md | 2013-01-29 | 1.1 kB | |
sshbook-0.1.2-noarch-2oz.txz | 2013-01-29 | 3.1 kB | |
sshbook-0.1.2-noarch-2oz.txz.md5 | 2013-01-29 | 63 Bytes | |
Totals: 4 Items | 5.2 kB | 0 |
SSH address book
This application reads it's configuration from the .sshbook.yml file located into the home directory(eg: /home/user/.sshbook.yml) and starts a ssh terminal.
Usage
sshbook connection [command]
See sshbook -h for more
Examples
Execute ls on a stored connection
sshbook local ls
Add a connection named local to localhost with the X forwarding (-Y) option
sshbook -a -o -Y local user@localhost
Add a connection based on the hostname got from the enviorment variable
sshbook -a -s ENV['HOSTNAME'] local user
Add a connection that executes ls
sshbook -a -c ls local user@localhost
Delete the local connection
sshbook -d local
Install
Just copy sshbook to /usr/bin and chmod a+x /usr/bin/sshbook
NOTE: You can set a host or a script for a connection, not both of them. The options tag is optional.
License
sshbook is licensed under the MIT License. See LICENSE.md for details.