From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp and ssh-agent / ssh-add
Date: Sat, 05 Apr 2008 15:38:08 +1100 [thread overview]
Message-ID: <87lk3szzkf.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: m3lk3ybo6q.fsf@tfkp07.physik.uni-erlangen.de
Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> writes:
> Michael Albinus <michael.albinus@gmx.de> writes:
>> D'accord. But Roland has the use case to run Emacs on a remote
>> host. He even doesn't start ssh-agent there, which would do the
>> job.
>
> Sorry for the confusion. Typically, I do something like
>
> ssh -t winkler@foo.org ssh-agent emacs
>
> So my remote session is only emacs under an ssh-agent. I would like
> to be able to run ssh-add from within the remote emacs iff ssh-add
> is needed because I want to establish a connection to yet some other
> host(s). (Of course, locally I am using shh-agent and ssh-add, too.
> Yet that helps me only for the ssh connections that I do starting
> from localhost.)
>
Why do you ssh to the remote box and run emacs? There are good reasons
to do this, but with things like tramp, its not necessary in many
cases.
While I don't need to do it now, I use to run emacs locally and use
tramp to do a multi-hop connection and edit files on a system at work
that was behind a firewall that could be accessed only from my work
desktop, which I could access via ssh.
This was over a 56k modem and it worked just fine. Now I have DSL, but I
still run things locally and use tramp to access files remotely. I also
use sshfs a bit, which is very useful.
Tim
--
tcross (at) rapttech dot com dot au
next prev parent reply other threads:[~2008-04-05 4:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-30 0:53 tramp and ssh-agent / ssh-add Roland Winkler
2008-03-30 11:12 ` Michael Albinus
[not found] ` <mailman.9631.1206875452.18990.help-gnu-emacs@gnu.org>
2008-03-30 12:28 ` Roland Winkler
2008-03-30 13:54 ` Michael Albinus
2008-03-30 14:25 ` Roland Winkler
2008-03-30 15:30 ` Michael Albinus
2008-03-30 15:38 ` Roland Winkler
2008-03-30 15:56 ` Michael Albinus
2008-04-01 0:17 ` Mike Mattie
[not found] ` <mailman.9640.1206887118.18990.help-gnu-emacs@gnu.org>
2008-03-31 7:44 ` Tim X
2008-03-31 10:26 ` Michael Albinus
[not found] ` <mailman.9696.1206959167.18990.help-gnu-emacs@gnu.org>
2008-03-31 21:04 ` Roland Winkler
2008-04-01 0:19 ` Mike Mattie
[not found] ` <mailman.9752.1207009209.18990.help-gnu-emacs@gnu.org>
2008-04-01 3:15 ` Roland Winkler
2008-04-05 4:38 ` Tim X [this message]
2008-04-07 4:32 ` Roland Winkler
2008-04-07 8:56 ` Peter Dyballa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lk3szzkf.fsf@lion.rapttech.com.au \
--to=timx@nospam.dev.null \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).