Michael,

Here is how I connect via shell prompt:

sudo ssh -i mlhost.pem ec2-user@ec2-107-20-32-xxx.compute-1.amazonaws.com

Thanks,
Morgan


From: "Michael Albinus" <michael.albinus@gmx.de>
To: mcundiff1@comcast.net
Cc: help-gnu-emacs@gnu.org
Sent: Monday, December 19, 2011 3:05:53 AM
Subject: Re: connect to EC2 server using Tramp

mcundiff1@comcast.net writes:

> Can someone give me the correct syntax for making an SSH connection to
> an EC2 server using tramp (from emacs)?
>
> What do type after you C-x, C-f and are faced with the "Find file:"
> prompt? How do you include .pem file?

I haven't used EC2 myself. But if you could show how you contact an EC2
server via ssh from a shell prompt, it shall be possible to give you the
Tramp equivalent.

> Thanks,
> Morgan

Best regards, Michael.