ssh for python

ssh for python

SSH 管理工具

GitHub

一键安装

使用简单

原生体验

ssh4p

a shell ssh manager tools for python

Install

# add python3 to path
pip3 install ssh4p

Quick Start

# add a host config
zssh-manager save -n test -h 1.1.1.1 -u root
# show all host
zssh-manager list [-p --password]
# remove host
zssh-manager remove [host_name] [-y --yes]
# batch edit host config
zssh-manager edit [-a --application "default vim"]
# start ssh session
zssh host_name
# start scp transfer
zscp remote_host_name:file_path local_host_path [-r]
zscp local_host_file_path remote_host_name:file_path [-r]

quick_start