You're most likely going to have to shell out to local. I can't see paramiko
supporting that if it doesn't support agent forwarding, or tunnels. 

goose

On Tue, May 10, 2011 at 11:18:39AM +0100, James Turnbull wrote:
> I have a SOCKS proxy setup to a gateway server which is created by setting up 
> a host definition in myssh_config to use DynamicForward localhost:9876. To 
> connect with SSH to the remote server I've setup another host definition to 
> use ProxyCommand /usr/bin/nc -x localhost:9876 %h %pwhich is all working fine.
> 
> However my fabric script needs to connect to that remote server. How can I 
> tell it to use the SOCKS proxy when it connects?
> 
> Thanks,
> 
> James
> 
> -- 
> James Turnbull - New Media Director
> [email protected]
> http://twitter.com/jturnbull
> Tel: 01865 791494, Mobile: 07780 676446
> Incuna Ltd, Free Think House, 16 Middle Way, Oxford, OX2 7LH
> 
> 
> 
> _______________________________________________
> Fab-user mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/fab-user
---end quoted text---

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to