first stable release
This commit is contained in:
parent
b7fdcf119d
commit
1b9acdcc4a
24
README.md
24
README.md
|
@ -1,31 +1,39 @@
|
|||
SSH connection manager with curses interface
|
||||
SSH connection and aliases manager with curses and command line interface
|
||||
======
|
||||
sshch is released under DWTWL 2.55 license
|
||||
|
||||
sshch compatible with pyhon2 and python3, no additional libraries are required
|
||||
### Screenshot
|
||||
![sshch](https://raw.githubusercontent.com/zlaxy/sshch/master/sshch_screenshot.png)
|
||||
### Installing
|
||||
To install for all users:
|
||||
**You can install a release version from pip:**
|
||||
```bash
|
||||
pip install sshch
|
||||
```
|
||||
**Manual installation from the package or git repository also available:**
|
||||
To install for all users:
|
||||
```bash
|
||||
sudo python setup.py install
|
||||
```
|
||||
To install just for current user:
|
||||
```
|
||||
```bash
|
||||
mkdir ~/.local/bin
|
||||
cp sshch/sshch ~/.local/bin/
|
||||
```
|
||||
### Using
|
||||
To run curses interface:
|
||||
```
|
||||
```bash
|
||||
sshch
|
||||
```
|
||||
To run command line help:
|
||||
```
|
||||
```bash
|
||||
sshch -h
|
||||
```
|
||||
For exit from current ssh session press `Ctrl+D`.
|
||||
**Additional Features**
|
||||
- If you want to use unsafe 'password' feature you must install 'sshpass' first.
|
||||
- If you want to use unsafe 'password' feature you must install `sshpass` first.
|
||||
- If you want to use bash autocompletion function with sshch, copy autocompletion script to /etc/bash_completion.d/:
|
||||
```
|
||||
```bash
|
||||
sudo cp completion/sshch_bash_completion.sh /etc/bash_completion.d/sshch
|
||||
```
|
||||
(changes will come into effect with new bash session)
|
||||
|
@ -33,4 +41,4 @@ sudo cp completion/sshch_bash_completion.sh /etc/bash_completion.d/sshch
|
|||
1) Place File in a Directory where ZSH can find it
|
||||
-> Search Path is Stored in $fpath
|
||||
-> echo $fpath
|
||||
2) Rename File to '_sshch'
|
||||
2) Rename File to '_sshch'
|
||||
|
|
13
setup.py
13
setup.py
|
@ -7,22 +7,27 @@ def main():
|
|||
|
||||
setup(name='sshch',
|
||||
author='zlaxy',
|
||||
author_email='zlaxyi@gmail.com',
|
||||
url='https://github.com/zlaxy/sshch/',
|
||||
description='Ssh connection manager',
|
||||
description='Ssh connection and aliases manager',
|
||||
long_description='SSH connection and aliases manager with curses and command line interface',
|
||||
long_description_content_type='text/x-rst',
|
||||
license='DWTWL 2.55',
|
||||
version='0.999',
|
||||
version='1.0',
|
||||
py_modules=['sshch'],
|
||||
scripts=['sshch/sshch'],
|
||||
keywords='sshch ssh aliases manager',
|
||||
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4',
|
||||
|
||||
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Console :: Curses',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: Freeware',
|
||||
'Natural Language :: English',
|
||||
'Operating System :: POSIX',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python',
|
||||
'Topic :: Internet',
|
||||
'Topic :: System :: Networking',
|
||||
'Topic :: System :: Systems Administration',
|
||||
|
|
|
@ -20,7 +20,7 @@ import curses
|
|||
from curses import textpad, panel
|
||||
|
||||
# https://github.com/zlaxy/sshch
|
||||
version = "0.999"
|
||||
version = "1.0"
|
||||
# path to conf file, default: ~/.config/sshch.conf
|
||||
conf_file = path.expanduser("~") + '/.config/sshch.conf'
|
||||
# expand groups by default
|
||||
|
|
Loading…
Reference in New Issue