Skip to content

saltycrane/remote-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)


About

Tools for remote server administration using SSH and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages