Skip to main content

multiple Jump IP do something

Project description

pypi

https://pypi.org/project/multiJump/

wiki

https://github.com/seqyuan/multiJump/wiki

Install multiJump

安装示例

pip3 install multiJump

class

calss jump_exe_cmd(mid_host_ip = None, mid_port=22, mid_username=None, mid_password=None,,mid_connect_timeout=60,cmd_mid = None, end_host_ip = None, end_port = None, cmd_end_to_exe = None, end_host_user = None)

The jump_exe_cmd object provides a methods intended for jump to mid IP rum cmd, and then jump to the end IP from mid IP rum cmd.

__init__(mid_host_ip = None, mid_port=22, mid_username=None, mid_password=None, mid_connect_timeout=60 , cmd_mid = None, end_host_ip = None, end_port = None, cmd_end_to_exe = None, end_host_user = None)

Create an object.

Parameters:

mid_host_ip – mid_host_ip
mid_port – mid_port
mid_username – mid_username
mid_password – mid_password
mid_connect_timeout – mid_connect_timeout
cmd_mid – cmd_mid
end_host_ip – end_host_ip
end_port – end_port
cmd_end_to_exe – cmd_end_to_exe
end_host_user – end_host_user
exe_cmd()

Connect the multiple IP then run mid and end command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multiJump-0.0.6.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file multiJump-0.0.6.tar.gz.

File metadata

  • Download URL: multiJump-0.0.6.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for multiJump-0.0.6.tar.gz
Algorithm Hash digest
SHA256 24de01cc5025703f9d0eb560664d5702487c743b7c83a5f4f113a3908ba09e9c
MD5 be3b2b7b411fa5896eccea250f1bcc6c
BLAKE2b-256 9dc4aeeff7ec51d610840222f9cee363eb18cd2a5a45b744ca041a86a8f1855a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page