Metadata-Version: 2.1
Name: messh
Version: 1.2.0
Summary: A useful SSH configuration manager.
Home-page: https://github.com/abersheeran/messh
Author: Aber Sheeran
Author-email: abersheeran@qq.com
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6.0
Description-Content-Type: text/markdown
Requires-Dist: colorama
Requires-Dist: click
Requires-Dist: paramiko
Requires-Dist: pysftp


# messh.py

A useful SSH configuration manager.

## Install

```bash
sudo pip install messh
```

## How to use

Get help about messh

```bash
messh --help
```

Display all ssh-config in messh

```
messh list
```

Create ssh connection and auto save it in config list, use `--only-create` only update config without creating ssh connection.

```
messh connect root@host --port 7878 --name "Myself VPS"
```

Use config by index to create ssh connection

```
messh connect 0
```

Execute command by ssh connection

```
messh execute root@host "ls -l" --port 8080
# or use index
messh execute 0 "ls -l"
```

Delete config by index(integer)

```
messh delete 0
```

## Security

All config would be write to `~/messh.conf` by JSON. **Protect it!**


