[cs615asa] HW4 - ssh to ec2

mmeladat at stevens.edu mmeladat at stevens.edu
Fri Mar 12 08:55:14 EST 2010


 
 Hi Lisa,

 Yes path is set properly. I figured it out, had to change the permission
for the .pem file.
 Thanks, for letting me know to check the config file.

 Mary

 On Fri 8:36 AM , "Lisa Joseph" ljoseph at stevens.edu sent:

 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 [1]
 >

 

Links:
------
[1]
http://webmail.stevens.edu/parse.php?redirect=https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.stevens.edu/cgi-bin/mailman/private/cs615asa/attachments/20100312/c8d011f7/attachment.htm 


More information about the cs615asa mailing list