Skip to content

lilingxing20/pyremokit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyremokit

Python Remote Toolkit

Introduction

Pyremokit is a Python-based remote management toolkit. It includes login system execute command line tool cmdsdk, and other features to be supplemented..

features

  1. login system execute command line tool cmdsdk
  2. other features to be supplemented...

Installation

Requirements

  • Python 3.10+

Install via pip

pip install pyremokit

Usage

1. login system execute command line tool cmdsdk

1.1 Command Line configuration items

  • Login Configuration

    • a) SSH Private Key File Path

      export PYREMOKIT_DEFAULT_SSHKEY="~/.ssh/id_rsa"
      

      Note: the default private key file path is ~/.ssh/id_rsa.

    • b) SSH Login Timeout

      export PYREMOKIT_LOGIN_TIMEOUT=10
      

      Note: the default value is 10 seconds.

    • c) Worker Home Path

      export PYREMOKIT_WORKER_HOME="~/."
      export PRK_WORKER_HOME="~/."
      export WORKER_HOME="~/."
      

      Note: the default worker home path is ~/, and the worker home path can be set by environment variable PYREMOKIT_WORKER_HOME, PRK_WORKER_HOME, or WORKER_HOME.

1.2 Execute Command Line Usage

2. other features to be supplemented...

About

Python Remote Toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages