Skip to content

flashvoid/python-controlmaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pycm

Simple wrapper around ssh implementing put, get, exe via ControlMaster multiplexing.

Generaly used for same tasks as paramiko or fabric but act as real user and so better handle complex ssh_config files with long redirect chains especially

Usage

> git clone git://github.com/flashvoid/python-controlmaster.git pycm
from pycm import ControlMaster

ssh = ControlMaster("customhost")
ssh.connect()
ssh.put(src,dst)
ssh.exe(cmd)
ssh.get(src,dst)
ssh.disconnect()

TODO

  • Think of a way to suppress all this trash on stdout

About

python wrapper around ssh controlmaster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages