Skip to content

Commit

Permalink
README update
Browse files Browse the repository at this point in the history
  • Loading branch information
otzy007 committed Sep 22, 2015
1 parent 679b1f5 commit 5db00ee
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ sshbook local ls
```
Add a connection named local to localhost with the X forwarding (-Y) option
```
sshbook -a -o -Y local user@localhost
sshbook-add -o "-Y" local user@localhost
```
Add a connection based on the hostname got from the enviorment variable
```
sshbook -a -s ENV['HOSTNAME'] local user
sshbook-add -s ENV['HOSTNAME'] local user
```
Add a connection that executes ls
```
sshbook -a -c ls local user@localhost
sshbook-add -c ls local user@localhost
```
Delete the local connection
Delete the "local" connection
```
sshbook -d local
```
Expand All @@ -45,7 +45,7 @@ sshbook -t -r folder host

Install
=======
Just copy sshbook from the bin folder to /usr/bin and chmod a+x /usr/bin/sshbook
Just copy `sshbook` and `sshbook-add` from the bin folder to /usr/bin and `chmod a+x /usr/bin/sshbook`

.sshbook.yml configuration file
===============================
Expand All @@ -56,4 +56,4 @@ The options tag is optional.

License
=======
sshbook is licensed under the MIT License. See [LICENSE.md] (https://github.com/otzy007/sshbook/blob/master/LICENSE.md) for details.
sshbook is licensed under the MIT License. See [LICENSE.md] (https://github.com/otzy007/sshbook/blob/master/LICENSE.md) for details.

0 comments on commit 5db00ee

Please sign in to comment.