fab-user
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Fab-user] How to do two-step ssh with sudo user
From
:
Hanks
Subject
:
[Fab-user] How to do two-step ssh with sudo user
Date
:
Tue, 17 Feb 2015 16:18:46 +0900
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.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Fab-user] How to do two-step ssh with sudo user
,
Hanks
<=
Re: [Fab-user] How to do two-step ssh with sudo user
,
Jeff Forcier
,
2015/02/20
Prev by Date:
Re: [Fab-user] Keeping remote path (or remote context) for next command
Next by Date:
[Fab-user] env.keepalive -> ServerAliveInterval ?
Previous by thread:
[Fab-user] Keeping remote path (or remote context) for next command
Next by thread:
Re: [Fab-user] How to do two-step ssh with sudo user
Index(es):
Date
Thread