On my local host alpha
I have a directory foo
that is mapped via sshfs to host bravo
as follows:
$ sshfs charlie@bravo:/home/charlie ~/foo
However, on host bravo
there is another user, delta, that I want to sudo /bin/su
as, so that I can do work in bravo:/home/delta
. delta
may not be logged into via ssh; for reasons which I cannot change, you can only sudo over to delta once you're on the machine.
Normally I'd ssh into bravo
, then sudo to delta, but I'm wondering if there's any way that I can do that when I've got charlie's home dir mounted via ssh.