"Douglas K. Rand" <[EMAIL PROTECTED]> writes:

> I've been trying to figure out how to accomplish a ssh to a host then
> a sudu on that host with proxys with out luck. I keep getting stuck that
> I want the proxy done /after/ the ssh, not before.
>
> By hand, this is:
>
>   $ ssh host
>   $ sudo user
>   $ emacs file

Hi Douglas, following syntax works fine for me in XEmacs:

/[multi/ssh:[EMAIL PROTECTED]/sudo:[EMAIL 
PROTECTED]/u/user2/.ssh/authorized_keys

My XEmacs runs under ssh-agent, so I don't need to supply the ssh
passphrase.

I get prompted for the remote sudo, and the file opens with remote
version control available as well.

GNU Emacs syntax is a bit different.

Good Luck!

Adrian

>
> And no, unfortunately logging in as user directly with ssh isn't an
> option.
>
> Any tips?

-- 
Adrian Aichner
 mailto:[EMAIL PROTECTED]
 http://www.xemacs.org/



_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to