all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: maghac <magnus.hacker@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Remote editing through ssh and sudo
Date: Sun, 31 Aug 2008 12:14:27 +0200	[thread overview]
Message-ID: <87fxolxzi4.fsf@gmx.de> (raw)
In-Reply-To: <c4c469bd-141a-43b4-b298-32461770f90b@d1g2000hsg.googlegroups.com> (maghac's message of "Sat, 30 Aug 2008 14:47:26 -0700 (PDT)")

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.




  reply	other threads:[~2008-08-31 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-30 21:47 Remote editing through ssh and sudo maghac
2008-08-31 10:14 ` Michael Albinus [this message]
2008-09-01  5:37   ` Jonathan Groll
2008-09-01  6:46     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxolxzi4.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=magnus.hacker@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.