Skip to main content

Collection of remote management tools through SSH

Project description

SDJ-REMOTETOOLS

Description

sdj-remotetools is a python collection of tools working through SSH.

Tools

All tools handle SSH connection using Paramiko.

rcat

Works like 'cat' command but for remote files through SSH and with few enhancements

usage: rcat [-h] [-p] [-e ENCODING] [-b] [-s] remote_files [remote_files ...]

Works like 'cat' but through SSH.

positional arguments:
  remote_files          SSH path to the remote files, space separate, ie: joe@remote.host:/path/to/file

options:
  -h, --help            show this help message and exit
  -p, --password        Ask user for password
  -e ENCODING, --encoding ENCODING
                        Character encoding, ie: utf-8 (default)
  -b, --border          Draw border around the content
  -s, --syntax_highlight
                        Enable console syntax highlighting

rlist

Works like 'ls' command but for remote path through SSH (with fewer options).

usage: rlist [-h] [-a] [-l] [-p] ssh_url

Works almost liks 'ls' but through SSH

positional arguments:
  ssh_url         SSH path to a remote file or directory, space separate, ie: joe@remote.host:/remote/path

options:
  -h, --help      show this help message and exit
  -a, --all       Show hidden and 'dot' files. Default: False
  -l, --long      Display extended file metadata as a table
  -p, --password  Ask user for password. Default: False

rexec

Executes command on a list of remote hosts and output results on screen or to a file.

usage: rexec [-h] [-u USERNAME] [-p PASSWORD] [-o OUTPUT] [-s] remote_hosts command

Executes command on a list of remote hosts and output result.

positional arguments:
  remote_hosts          A coma separated list of hosts. Ex: root@127.0.0.1,joe@example.org
  command               The command to execute on remote hosts

options:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Username for ssh authentication. Must be the same for all hosts
  -p PASSWORD, --password PASSWORD
                        Password for ssh authentication. Must be the same for all hosts
  -o OUTPUT, --output OUTPUT
                        Write output to this file. It not set output will print on stdout
  -s, --syntax_highlight
                        Enable console syntax highlighting

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

sdj_remotetools-0.5.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

sdj_remotetools-0.5.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file sdj_remotetools-0.5.0.tar.gz.

File metadata

  • Download URL: sdj_remotetools-0.5.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.2.0-37-generic

File hashes

Hashes for sdj_remotetools-0.5.0.tar.gz
Algorithm Hash digest
SHA256 dd6946e0dfde17fb90a697ac69ce1c830fb7418cba4417c45323a3a9a91bea20
MD5 3adb3f8df949795c713a781c3b62ae0f
BLAKE2b-256 f31844c029c0a9b2be74f903139cddf6416c74589cf5c17e29643614c18dc687

See more details on using hashes here.

File details

Details for the file sdj_remotetools-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: sdj_remotetools-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.11.6 Linux/6.2.0-37-generic

File hashes

Hashes for sdj_remotetools-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 658aa87a322ab4c1f78e12cb8cbf90c53506098f734d86ce9d325af8a174f59c
MD5 bec21236959ee6e59be2094149678c78
BLAKE2b-256 7067d03e3128e6d5157d16c4f25b8510cd49237d0a587bacd84c9116f46f8295

See more details on using hashes here.

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