[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) |
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.
Re: connect to EC2 server using Tramp, Chris Van Dusen, 2011/12/19