[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proxy and su
From: |
Adrian Aichner |
Subject: |
Re: Proxy and su |
Date: |
Thu, 04 May 2006 22:58:58 +0200 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b26 (windows-nt) |
"Douglas K. Rand" <address@hidden> 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:address@hidden/sudo:address@hidden/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:address@hidden
http://www.xemacs.org/
- Proxy and su, Douglas K. Rand, 2006/05/04
- Re: Proxy and su,
Adrian Aichner <=