Hanks
2015-02-17 07:18:46 UTC
â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.
â
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.
â