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: Michael Albinus
Subject: Re: connect to EC2 server using Tramp
Date: Mon, 19 Dec 2011 18:26:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

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]