Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bert2002 committed Dec 8, 2015
1 parent 3f2b1c6 commit 56a562c
Showing 1 changed file with 1 addition and 74 deletions.
75 changes: 1 addition & 74 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,77 +2,4 @@
ossh manager
=============

The ossh manager shows open ssh connections and the user can establish a further based on the information.

Features
-------

* show open ssh connections
* show recent used connections via ossh (history)
* open new ssh connections
* increase v4 ip address

Walkthrough
-------

* open a new ssh connection to [01]
```
# ossh
[01] ssh 192.168.10.12
[02] ssh -l root 192.168.10.13
[--]
[03] ssh 172.16.20.14
>id: 1
```

* open a new ssh connection to a different server [02]+2 will open a connection to 192.168.10.15
```
# ossh
[01] ssh 192.168.10.12
[02] ssh -l root 192.168.10.13
[--]
[03] ssh 172.16.20.14
>id: 2+2
```

Hints
-------

* For choosing the first entry from the overview you can simply hit enter.
* "[--]" in the overview implies that all following entries come from the history file.
* Passing the parameter [-l|--list] just lists the connection overview without asking for a connection id.
* Passing the parameter [-a|--auto] provides the possibility to auto login if there is only
one unique current connection instead of printing the overview and asking for a connection id.
* If you know what the overview looks like you can pass the id direclty, e.g. "ossh 1" or "ossh 4"
* There are global variables in the script header. Read the script's comment about the variable $EXCLUDE_RE for further information. Default values:
```
HIST_FILE=~/.ossh_history
MAX_HIST_LINES=6
EXCLUDE_RE='sshfs|scp'
```

Known Problems
-------

* increasing ip with v6 is not working

Author
-------

* vd <[email protected]>

License
-------

ossh is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 2 of the License.

ossh is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ossh. If not, see <http://www.gnu.org/licenses/>.

Development continues in https://github.com/shellape/ossh

0 comments on commit 56a562c

Please sign in to comment.