sdj-remotetools


Namesdj-remotetools JSON
Version 0.5.0 PyPI version JSON
download
home_pagehttps://github.com/sdejongh/sdj_remotetools
SummaryCollection of remote management tools through SSH
upload_time2023-12-02 15:47:46
maintainer
docs_urlNone
authorSteve De Jongh
requires_python>=3.9,<4.0
licenseMIT
keywords cli ssh cat remote command-line
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![](https://img.shields.io/badge/python-3.9-blue) ![](https://img.shields.io/badge/python-3.10-blue) ![](https://img.shields.io/badge/python-3.11-blue) ![](https://img.shields.io/badge/python-3.12-blue)
# 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
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/sdejongh/sdj_remotetools",
    "name": "sdj-remotetools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "cli,ssh,cat,remote,command-line",
    "author": "Steve De Jongh",
    "author_email": "dejongh.st@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/f3/18/44c029c0a9b2be74f903139cddf6416c74589cf5c17e29643614c18dc687/sdj_remotetools-0.5.0.tar.gz",
    "platform": null,
    "description": "![](https://img.shields.io/badge/python-3.9-blue) ![](https://img.shields.io/badge/python-3.10-blue) ![](https://img.shields.io/badge/python-3.11-blue) ![](https://img.shields.io/badge/python-3.12-blue)\n# SDJ-REMOTETOOLS\n\n## Description\n`sdj-remotetools` is a python collection of tools working through SSH.\n\n## Tools\nAll tools handle SSH connection using Paramiko.\n\n### rcat\nWorks like 'cat' command but for remote files through SSH and with few enhancements\n```\nusage: rcat [-h] [-p] [-e ENCODING] [-b] [-s] remote_files [remote_files ...]\n\nWorks like 'cat' but through SSH.\n\npositional arguments:\n  remote_files          SSH path to the remote files, space separate, ie: joe@remote.host:/path/to/file\n\noptions:\n  -h, --help            show this help message and exit\n  -p, --password        Ask user for password\n  -e ENCODING, --encoding ENCODING\n                        Character encoding, ie: utf-8 (default)\n  -b, --border          Draw border around the content\n  -s, --syntax_highlight\n                        Enable console syntax highlighting\n```\n\n### rlist\nWorks like 'ls' command but for remote path through SSH (with fewer options).\n```\nusage: rlist [-h] [-a] [-l] [-p] ssh_url\n\nWorks almost liks 'ls' but through SSH\n\npositional arguments:\n  ssh_url         SSH path to a remote file or directory, space separate, ie: joe@remote.host:/remote/path\n\noptions:\n  -h, --help      show this help message and exit\n  -a, --all       Show hidden and 'dot' files. Default: False\n  -l, --long      Display extended file metadata as a table\n  -p, --password  Ask user for password. Default: False\n```\n\n### rexec\nExecutes command on a list of remote hosts and output results on screen or to a file.\n```\nusage: rexec [-h] [-u USERNAME] [-p PASSWORD] [-o OUTPUT] [-s] remote_hosts command\n\nExecutes command on a list of remote hosts and output result.\n\npositional arguments:\n  remote_hosts          A coma separated list of hosts. Ex: root@127.0.0.1,joe@example.org\n  command               The command to execute on remote hosts\n\noptions:\n  -h, --help            show this help message and exit\n  -u USERNAME, --username USERNAME\n                        Username for ssh authentication. Must be the same for all hosts\n  -p PASSWORD, --password PASSWORD\n                        Password for ssh authentication. Must be the same for all hosts\n  -o OUTPUT, --output OUTPUT\n                        Write output to this file. It not set output will print on stdout\n  -s, --syntax_highlight\n                        Enable console syntax highlighting\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Collection of remote management tools through SSH",
    "version": "0.5.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/sdejongh/sdj_remotetools/issues",
        "Homepage": "https://github.com/sdejongh/sdj_remotetools",
        "Repository": "https://github.com/sdejongh/sdj_remotetools"
    },
    "split_keywords": [
        "cli",
        "ssh",
        "cat",
        "remote",
        "command-line"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7067d03e3128e6d5157d16c4f25b8510cd49237d0a587bacd84c9116f46f8295",
                "md5": "bec21236959ee6e59be2094149678c78",
                "sha256": "658aa87a322ab4c1f78e12cb8cbf90c53506098f734d86ce9d325af8a174f59c"
            },
            "downloads": -1,
            "filename": "sdj_remotetools-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bec21236959ee6e59be2094149678c78",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 9090,
            "upload_time": "2023-12-02T15:47:44",
            "upload_time_iso_8601": "2023-12-02T15:47:44.885062Z",
            "url": "https://files.pythonhosted.org/packages/70/67/d03e3128e6d5157d16c4f25b8510cd49237d0a587bacd84c9116f46f8295/sdj_remotetools-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f31844c029c0a9b2be74f903139cddf6416c74589cf5c17e29643614c18dc687",
                "md5": "3adb3f8df949795c713a781c3b62ae0f",
                "sha256": "dd6946e0dfde17fb90a697ac69ce1c830fb7418cba4417c45323a3a9a91bea20"
            },
            "downloads": -1,
            "filename": "sdj_remotetools-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3adb3f8df949795c713a781c3b62ae0f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 6159,
            "upload_time": "2023-12-02T15:47:46",
            "upload_time_iso_8601": "2023-12-02T15:47:46.643140Z",
            "url": "https://files.pythonhosted.org/packages/f3/18/44c029c0a9b2be74f903139cddf6416c74589cf5c17e29643614c18dc687/sdj_remotetools-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-02 15:47:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "sdejongh",
    "github_project": "sdj_remotetools",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "sdj-remotetools"
}
        
Elapsed time: 0.14491s