[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remote editing through ssh and sudo
From: |
Michael Albinus |
Subject: |
Re: Remote editing through ssh and sudo |
Date: |
Sun, 31 Aug 2008 12:14:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
maghac <magnus.hacker@gmail.com> writes:
> Hi, can anyone tell me if TRAMP in Emacs will help me in the following
> scenario:
>
> I am admin for a certain application on a Solaris server and need to
> edit text files (shell and perl scripts) in the installation. The only
> way to access the server is via ssh. No ftp or sftp. For security
> reasons, I am not allowed to log in as the app owner user, but instead
> I have to log in with my personal login with ssh and then use "sudo su
> - app_admin" to switch to the app owner user. Sudo will of course ask
> me for my password when I do this.
Tramp 2.1 shall support this. Read about multi hops
<http://www.gnu.org/software/tramp/#Multi_002dhops>.
> Just to add to the complexity, I need to do all of this on a windows
> box.
>
> Would be grateful if anyone can point me in the right direction. I
> read stories about people having issues getting TRAMP to run under
> windows.
Tramp and cygwin's ssh do not work together pretty well. Using PuTTY
seems to work in most of the cases.
Best regards, Michael.