[cs615asa] HW4 - ssh to ec2
Lisa Joseph
ljoseph at stevens.edu
Fri Mar 12 08:36:23 EST 2010
Hi,
Did you set your path properly? like EC2_HOME,EC2_CERT etc?
if yes, then edit your config file like below.
Script started on Sun Feb 21 17:30:08 2010
(gort) cat ~/.ssh/config
Host *.amazonaws.com
IdentityFile ~/.ec2/stevens.pem
User root
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
where identityfile is (your key to conncect to instance)
Not very sure whether that is the issue...you can try that ...
Regards,
Lisa.
mmeladat at stevens.edu wrote:
> Hi
>
> I get the following error :-
> Permission denied (publickey,gssapi-with-mic).
>
> I did copy the linux lab public key on ec2 authorized_key folder. But
>after doing ssh to connect to the instance
> I get the permission denied.
>
> Anyone getting the same error.
>
> Mary
>
>
------------------------------------------------------------------------
_______________________________________________
>cs615asa mailing list
>cs615asa at lists.stevens.edu
>https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
>
More information about the cs615asa
mailing list