​Hi,

I want to implement command below:

localhost->host1->host2

1. ssh host1 [from localhost]
2 .sudo -u superuser ssh host2 [from host1]
3. command [from host2]

How to use fabfile to do things like that. I find gateway can jump from
localhost to host2, but how to transfer sudo user in host1.

Thank you for your time.
​
_______________________________________________
Fab-user mailing list
Fab-user@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to