Home > remote-tools

remote-tools

Remote-tools is a project mainly written in Python, it's free.

Tools for remote server administration using SSH and Python

scp_r2r.py: Use scp to copy files bewteen two remote hosts directly. Copies the ssh key needed to get from host1 to host2. Requires ~/.ssh/config file

Usage: scp_r2r.py [options] host1:path1 host2:path2

Options:
  -h, --help            show this help message and exit
  -F CONFIG_FILE, --config-file=CONFIG_FILE
                        SSH config file (default: ~/.ssh/config)
  --scp-options=SCP_OPTIONS
                        string of options (in quotes) passed directy to the
                        scp command

Dependencies:
- paramiko

rml_cat.py: Print lines in ascending order for all files matching glob pattern on a remote host

Usage: rml_cat.py [options] host:glob

Dependencies:
- paramiko

TO DO:

  • Use baker (http://bitbucket.org/mchaput/baker/wiki/Home)
Previous:fabfile.tmBundle