sshfs: how to sudo when doing file operations on remote
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I read quite some sshfs & sudo posts but this is unclear to me.
if I mount a remotes servers filesystem into a folder on my local system, how do I do a remote sudo?
ssh adam@superhost.com ~/remoteserver
Now lets say user adam needs to sudo to change some files on the remote host. How do I sudo?
And what if sudo requires a password on the remote host?
sshfs
add a comment |Â
up vote
0
down vote
favorite
I read quite some sshfs & sudo posts but this is unclear to me.
if I mount a remotes servers filesystem into a folder on my local system, how do I do a remote sudo?
ssh adam@superhost.com ~/remoteserver
Now lets say user adam needs to sudo to change some files on the remote host. How do I sudo?
And what if sudo requires a password on the remote host?
sshfs
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I read quite some sshfs & sudo posts but this is unclear to me.
if I mount a remotes servers filesystem into a folder on my local system, how do I do a remote sudo?
ssh adam@superhost.com ~/remoteserver
Now lets say user adam needs to sudo to change some files on the remote host. How do I sudo?
And what if sudo requires a password on the remote host?
sshfs
I read quite some sshfs & sudo posts but this is unclear to me.
if I mount a remotes servers filesystem into a folder on my local system, how do I do a remote sudo?
ssh adam@superhost.com ~/remoteserver
Now lets say user adam needs to sudo to change some files on the remote host. How do I sudo?
And what if sudo requires a password on the remote host?
sshfs
asked Mar 23 at 20:28
caliph
1011
1011
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f433154%2fsshfs-how-to-sudo-when-doing-file-operations-on-remote%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password