help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connect to EC2 server using Tramp


From: mcundiff1
Subject: Re: connect to EC2 server using Tramp
Date: Tue, 20 Dec 2011 01:56:29 +0000 (UTC)

Michael,

It worked just as you said.

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

Thank you!!

Morgan




From: "Michael Albinus" <address@hidden>
To: address@hidden
Cc: address@hidden
Sent: Monday, December 19, 2011 12:26:59 PM
Subject: Re: connect to EC2 server using Tramp

address@hidden writes:

> Michael,

Hi Morgan,

> Here is how I connect via shell prompt:
>
> sudo ssh -i mlhost.pem
> address@hidden

I would do in emacs

  "C-x C-f /ssh:address@hidden:"

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]