A tool based on paramiko used to connect to remote server.
Project description
easycon
A easy-use tool to connect to a remote server. This tool is developed on paramiko
.
Install
pip install easycon
Usage
The following is the instruction of this tool. One can also find this by run command easycon
in terminal directly.
{COMMAND}:
easycon [options]
{DESCRIPTION}:
An easy tool to control remote (linux-like) server. One must input a <CONFIG>
file. The <CONFIG> contains all the information, such as IP, port, of the remote
server. One can use --template to create a template.
{OPTIONS}:
--config
A file contains login info. If you do not have one, consider '--mkconfig'
Example:
easycon --config <path> [options]
--mkconfig
Create a template login file.
Example:
easycon --mkconfig <path>
--describe
Show information of remote server. This can be a test of connection.
--login
Use SSH to connect to the remote server. This makes an interavtive window.
Example:
easycon --config <path> --login
--dirpath
A absolute path of directly (linux form) may be used for many cases.
--uploadfile
upload a file into the remote.
Example:
easycon --config <path> --uploadfile <filepath> [ --dirpath <path> ]
if a <path> is specified, file will be upload to "/<path>/<filename>"
if not, file will be put at "/home/<filename>"
--downloadfile
downloadfile a file from the remote.
Example:
easycon --config <path> --downloadfile <filepath>
<filepath> must be a absolute path such as "/home/ec2-user/file.txt"
The file will be download the current working directory (CWD)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
easycon-2019.3.1.1740.tar.gz
(7.6 kB
view details)
File details
Details for the file easycon-2019.3.1.1740.tar.gz
.
File metadata
- Download URL: easycon-2019.3.1.1740.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2569985cbaf081cbcbc1e1f07c46a9af6e4c6311222bed8e8a394f63149bd008 |
|
MD5 | b975dc234d07be04a8a00705ac865a9a |
|
BLAKE2b-256 | fbef9c060277e454a252611230b912f9cc977fbaeaa61a5e7c02b6846967bfdd |