2018-04-23 19:07:22 +00:00
|
|
|
SSH connection and aliases manager with curses and command line interface
|
2017-07-25 10:07:47 +00:00
|
|
|
======
|
2018-04-22 12:02:36 +00:00
|
|
|
sshch is released under DWTWL 2.55 license
|
2018-04-23 19:07:22 +00:00
|
|
|
|
|
|
|
sshch compatible with pyhon2 and python3, no additional libraries are required
|
2017-07-25 10:10:53 +00:00
|
|
|
### Screenshot
|
2019-09-05 13:42:24 +00:00
|
|
|
![sshch](https://dev.ussr.win/zlax/sshch/raw/branch/master/sshch_screenshot.png)
|
|
|
|
|
2017-07-25 10:07:47 +00:00
|
|
|
### Installing
|
2018-04-23 19:07:22 +00:00
|
|
|
**You can install a release version from pip:**
|
|
|
|
```bash
|
|
|
|
pip install sshch
|
2017-07-25 10:07:47 +00:00
|
|
|
```
|
2018-04-23 19:07:22 +00:00
|
|
|
**Manual installation from the package or git repository also available:**
|
2018-04-23 19:23:54 +00:00
|
|
|
|
2018-04-23 19:07:22 +00:00
|
|
|
To install for all users:
|
|
|
|
```bash
|
2017-07-25 10:07:47 +00:00
|
|
|
sudo python setup.py install
|
|
|
|
```
|
|
|
|
To install just for current user:
|
2018-04-23 19:07:22 +00:00
|
|
|
```bash
|
2017-07-25 10:07:47 +00:00
|
|
|
mkdir ~/.local/bin
|
|
|
|
cp sshch/sshch ~/.local/bin/
|
|
|
|
```
|
|
|
|
### Using
|
|
|
|
To run curses interface:
|
2018-04-23 19:07:22 +00:00
|
|
|
```bash
|
2017-07-25 10:07:47 +00:00
|
|
|
sshch
|
|
|
|
```
|
|
|
|
To run command line help:
|
2018-04-23 19:07:22 +00:00
|
|
|
```bash
|
2017-07-25 10:07:47 +00:00
|
|
|
sshch -h
|
|
|
|
```
|
2018-04-23 19:07:22 +00:00
|
|
|
For exit from current ssh session press `Ctrl+D`.
|
2018-04-23 19:23:54 +00:00
|
|
|
|
2018-04-22 12:02:36 +00:00
|
|
|
**Additional Features**
|
2018-04-23 19:07:22 +00:00
|
|
|
- If you want to use unsafe 'password' feature you must install `sshpass` first.
|
2018-04-08 13:27:16 +00:00
|
|
|
- If you want to use bash autocompletion function with sshch, copy autocompletion script to /etc/bash_completion.d/:
|
2018-04-23 19:07:22 +00:00
|
|
|
```bash
|
2018-04-22 15:10:22 +00:00
|
|
|
sudo cp completion/sshch_bash_completion.sh /etc/bash_completion.d/sshch
|
2017-09-13 09:03:00 +00:00
|
|
|
```
|
2018-04-04 21:31:37 +00:00
|
|
|
(changes will come into effect with new bash session)
|
2018-04-08 13:27:16 +00:00
|
|
|
- If you want to use zsh autocompletion:
|
2018-04-04 21:31:37 +00:00
|
|
|
1) Place File in a Directory where ZSH can find it
|
2018-04-23 19:23:54 +00:00
|
|
|
|
2018-04-04 21:31:37 +00:00
|
|
|
-> Search Path is Stored in $fpath
|
2018-04-23 19:23:54 +00:00
|
|
|
|
2018-04-04 21:31:37 +00:00
|
|
|
-> echo $fpath
|
2018-04-23 19:07:22 +00:00
|
|
|
2) Rename File to '_sshch'
|