From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.help Subject: Re: tramp and ssh-agent / ssh-add Date: Mon, 31 Mar 2008 17:19:12 -0700 Message-ID: <20080331171912.58a616ad@reforged> References: <87zlsg8ghk.fsf@gmx.de> <87ve335odz.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/aLgT0fXqBcAqIs5lBXCBe0T"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Trace: ger.gmane.org 1207009233 9402 80.91.229.12 (1 Apr 2008 00:20:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 00:20:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 01 02:21:04 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgUFM-0007Io-4F for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Apr 2008 02:21:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgUEj-0006FY-SL for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Mar 2008 20:20:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgUER-0006E4-Pb for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 20:20:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgUEP-0006CX-HO for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 20:20:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgUEP-0006CR-E2 for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 20:20:05 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgUEP-0001kz-99 for help-gnu-emacs@gnu.org; Mon, 31 Mar 2008 20:20:05 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so2293772wah.10 for ; Mon, 31 Mar 2008 17:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=1i5CmjbDrxwLqAQTRZLBudPjno3/35MaK2BPq5D7UPw=; b=FLEIKw9K4OYB7HuYqU8nTuFrN2aCTWx3Ew8FvsqlSR83jLjemD9X6/V87g2EJAarCBYk60HryPeFM0u7QigJPoAd3t5kGPBBhi0EFh+cqzpW6DtDusDxWqvkz6KUzSkBuZdwdoQOXzrwN1sYxMZeQEvfxQPI3L7MZuaWRIRzw1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=aGH2i0rNaQG5ccv5GiN0jOVPajUGsXOG9MB14LRLF7oWaFJ3m8/VP8iTOw3XpqA6QRYcJd476GibrvOY5WEo8Jma8M0PiwJGrphXHdNRZLFrsntuClYNlXjYCZlnEbCDUP8Tck5WtXzuSZwkLkr128IYM2I1x7PKW3d/A/UeFQo= Original-Received: by 10.114.178.1 with SMTP id a1mr11281865waf.25.1207009204051; Mon, 31 Mar 2008 17:20:04 -0700 (PDT) Original-Received: from reforged ( [71.217.206.83]) by mx.google.com with ESMTPS id m29sm10475934poh.12.2008.03.31.17.20.03 (version=SSLv3 cipher=OTHER); Mon, 31 Mar 2008 17:20:03 -0700 (PDT) In-Reply-To: X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.8; i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52930 Archived-At: --Sig_/aLgT0fXqBcAqIs5lBXCBe0T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 31 Mar 2008 23:04:13 +0200 Roland Winkler wrote: > Michael Albinus 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. >=20 > Sorry for the confusion. Typically, I do something like >=20 > ssh -t winkler@foo.org ssh-agent emacs >=20 > 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.) If I understand you correctly use agent forwarding. It's a sshd option. > Roland --Sig_/aLgT0fXqBcAqIs5lBXCBe0T Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH8X+AdfRchrkBInkRAt6LAJ0bJLMtb2GzGGLsF6W6zVNnq4qQTgCg209c nQW+kl0qCPHdB4zyF5TvpoE= =tQvu -----END PGP SIGNATURE----- --Sig_/aLgT0fXqBcAqIs5lBXCBe0T--