first stable release

This commit is contained in:
ivan 2018-04-23 22:07:22 +03:00
parent b7fdcf119d
commit 1b9acdcc4a
3 changed files with 26 additions and 13 deletions

View File

@ -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 is released under DWTWL 2.55 license
sshch compatible with pyhon2 and python3, no additional libraries are required
### Screenshot ### Screenshot
![sshch](https://raw.githubusercontent.com/zlaxy/sshch/master/sshch_screenshot.png) ![sshch](https://raw.githubusercontent.com/zlaxy/sshch/master/sshch_screenshot.png)
### Installing ### 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 sudo python setup.py install
``` ```
To install just for current user: To install just for current user:
``` ```bash
mkdir ~/.local/bin mkdir ~/.local/bin
cp sshch/sshch ~/.local/bin/ cp sshch/sshch ~/.local/bin/
``` ```
### Using ### Using
To run curses interface: To run curses interface:
``` ```bash
sshch sshch
``` ```
To run command line help: To run command line help:
``` ```bash
sshch -h sshch -h
``` ```
For exit from current ssh session press `Ctrl+D`.
**Additional Features** **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/: - 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 sudo cp completion/sshch_bash_completion.sh /etc/bash_completion.d/sshch
``` ```
(changes will come into effect with new bash session) (changes will come into effect with new bash session)

View File

@ -7,22 +7,27 @@ def main():
setup(name='sshch', setup(name='sshch',
author='zlaxy', author='zlaxy',
author_email='zlaxyi@gmail.com',
url='https://github.com/zlaxy/sshch/', 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', license='DWTWL 2.55',
version='0.999', version='1.0',
py_modules=['sshch'], py_modules=['sshch'],
scripts=['sshch/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 # http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 5 - Production/Stable',
'Environment :: Console :: Curses', 'Environment :: Console :: Curses',
'Intended Audience :: System Administrators', 'Intended Audience :: System Administrators',
'License :: Freeware', 'License :: Freeware',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: POSIX', 'Operating System :: POSIX',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python',
'Topic :: Internet', 'Topic :: Internet',
'Topic :: System :: Networking', 'Topic :: System :: Networking',
'Topic :: System :: Systems Administration', 'Topic :: System :: Systems Administration',

View File

@ -20,7 +20,7 @@ import curses
from curses import textpad, panel from curses import textpad, panel
# https://github.com/zlaxy/sshch # https://github.com/zlaxy/sshch
version = "0.999" version = "1.0"
# path to conf file, default: ~/.config/sshch.conf # path to conf file, default: ~/.config/sshch.conf
conf_file = path.expanduser("~") + '/.config/sshch.conf' conf_file = path.expanduser("~") + '/.config/sshch.conf'
# expand groups by default # expand groups by default