From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: mcundiff1@comcast.net Newsgroups: gmane.emacs.help Subject: Re: connect to EC2 server using Tramp Date: Tue, 20 Dec 2011 01:56:29 +0000 (UTC) Message-ID: <1034151882.1375385.1324346189401.JavaMail.root@sz0112a.westchester.pa.mail.comcast.net> References: <87sjkgeal8.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1375384_1451268230.1324346189345" X-Trace: dough.gmane.org 1324346209 14101 80.91.229.12 (20 Dec 2011 01:56:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2011 01:56:49 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 20 02:56:43 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RcowY-0005HM-0a for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2011 02:56:39 +0100 Original-Received: from localhost ([::1]:49274 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcowW-0008Pj-UY for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Dec 2011 20:56:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:51004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcowS-0008PQ-Cq for help-gnu-emacs@gnu.org; Mon, 19 Dec 2011 20:56:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcowR-0006S1-4Q for help-gnu-emacs@gnu.org; Mon, 19 Dec 2011 20:56:32 -0500 Original-Received: from qmta02.westchester.pa.mail.comcast.net ([76.96.62.24]:45281 helo=qmta01.westchester.pa.mail.comcast.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcowQ-0006Rv-RC for help-gnu-emacs@gnu.org; Mon, 19 Dec 2011 20:56:30 -0500 Original-Received: from omta19.westchester.pa.mail.comcast.net ([76.96.62.98]) by qmta01.westchester.pa.mail.comcast.net with comcast id BDRm1i00627AodY51DwWjL; Tue, 20 Dec 2011 01:56:30 +0000 Original-Received: from sz0112.wc.mail.comcast.net ([76.96.58.172]) by omta19.westchester.pa.mail.comcast.net with comcast id BDwV1i01f3ixLoC3fDwV2Z; Tue, 20 Dec 2011 01:56:29 +0000 In-Reply-To: <87sjkgeal8.fsf@gmx.de> X-Originating-IP: [68.33.222.245] X-Mailer: Zimbra 6.0.13_GA_2934 (ZimbraWebClient - FF3.0 (Linux)/6.0.13_GA_2934) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 76.96.62.24 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83228 Archived-At: ------=_Part_1375384_1451268230.1324346189345 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Michael, It worked just as you said. Also, you were right - it did not need "sudo". Thank you!! Morgan ----- Original Message ----- From: "Michael Albinus" To: mcundiff1@comcast.net Cc: help-gnu-emacs@gnu.org Sent: Monday, December 19, 2011 12:26:59 PM Subject: Re: connect to EC2 server using Tramp mcundiff1@comcast.net writes: > Michael, Hi Morgan, > Here is how I connect via shell prompt: > > sudo ssh -i mlhost.pem > ec2-user@ec2-107-20-32-xxx.compute-1.amazonaws.com I would do in emacs "C-x C-f /ssh:ec2-user@ec2-107-20-32-xxx.compute-1.amazonaws.com:" Why do you need the preceeding "sudo"? Is it mandatory for calling ssh? In this case, we would need further configuration. Tramp does not support the specification of identity files via the "-i" option. Therefore, you shall add the following lines to your ~/.ssh/config: Host ec2-107-20-32-xxx.compute-1.amazonaws.comx IdentityFile /path/to/mlhost.pem > Thanks, > Morgan Best rgards, Michael. ------=_Part_1375384_1451268230.1324346189345 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <= div style=3D'font-family: Arial; font-size: 12pt; color: #000000'>Michael,<= br>
It worked just as you said.

Also, you were right - it did not= need "sudo".

Thank you!!

Morgan




From: "Michael Albinus" <michael.albinus@gmx.de>
To:= mcundiff1@comcast.net
Cc: help-gnu-emacs@gnu.org
Sent:= Monday, December 19, 2011 12:26:59 PM
Subject: Re: connect t= o EC2 server using Tramp

mcundiff1@comcast.net writes:

> M= ichael,

Hi Morgan,

> Here is how I connect via shell promp= t:
>
> sudo ssh -i mlhost.pem
> ec2-user@ec2-107-20-32-xx= x.compute-1.amazonaws.com

I would do in emacs

  "C-= x C-f /ssh:ec2-user@ec2-107-20-32-xxx.compute-1.amazonaws.com:"

Why = do you need the preceeding "sudo"? Is it mandatory for calling ssh?
In t= his case, we would need further configuration.

Tramp does not suppor= t the specification of identity files via the "-i"
option. Therefore, yo= u shall add the following lines to your ~/.ssh/config:

Host ec2-107-= 20-32-xxx.compute-1.amazonaws.comx
      &= nbsp; IdentityFile        /pat= h/to/mlhost.pem

> Thanks,
> Morgan

Best rgards, Mich= ael.
------=_Part_1375384_1451268230.1324346189345--