RedHatQE / python-stitches

This python library provides paramiko-based multihost ssh actions.
GNU General Public License v3.0
5 stars 2 forks source link

Support for paramiko ProxyCommand #1

Open midnightercz opened 9 years ago

midnightercz commented 9 years ago

stitches can't use paramiko's ProxyCommand, which makes it unusable for machines behind another machine.

dparalen commented 9 years ago

Hi, thanks for the report, have you got some suggestion towards solving this?

Cheers, milan

midnightercz commented 9 years ago

I guess extra parameter will be needed here https://github.com/RedHatQE/python-stitches/blob/master/stitches/connection.py#L162 (fortunately plumbum is compatible with Paramiko) here https://github.com/RedHatQE/python-stitches/blob/master/stitches/connection.py#L116 and extended init https://github.com/RedHatQE/python-stitches/blob/master/stitches/connection.py#L34

dparalen commented 9 years ago

OK, this looks as a legitimate patch, kindly submit a pull request if you'd like to have the fix applied sooner.

Thanks, milan