[BangPypers] Multilevel SSH in Python

davidsnt davidsnt at gmail.com
Tue Oct 16 13:56:13 CEST 2012


Yeah agreed, but with proxycommand and nc I get a very little control over
the session, I need a connection object where I can create multiple
connections and execute a large set of commands.

Thank You,
Davidsanthosh L


On Tue, Oct 16, 2012 at 5:11 PM, Noufal Ibrahim <noufal at nibrahim.net.in>wrote:

> davidsnt <davidsnt at gmail.com> writes:
>
> > Thank you for the quick response.
> >
> > nc and proxycommand are more of a linux way of doing it, but is there any
> > python oriented way, like I do an ssh and get an object with that I again
> > do once more ssh etc,
>
> I don't know but if whatever you're using inside Python uses the openssh
> config file, it should automatically do the proxying. My point was that
> you might be able to do this without any work.
>
> [...]
>
>
> --
> Cordially,
> Noufal
> http://nibrahim.net.in
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list