[cs615asa] Permission denied (publickey) on every new instance

Chao czhang13 at stevens.edu
Mon Feb 4 16:38:13 EST 2013


Do you mean you use ec2-create-keypair instead of ec2-add-keypair command?

Chao

On Feb 4, 2013, at 4:25 PM, hyan2 <hyan2 at stevens.edu> wrote:

> Hi Professor,
> 
> Initially, I followed this instruction to generated the key pair: http://paulstamatiou.com/how-to-getting-started-with-amazon-ec2. I think that key pair has some problems. Now, I changed the method to generate the key pair. It works now.
> 
> Thank you. I also have attached the file 'typescript'.
> 
> -Han
> 
> On Mon, 4 Feb 2013 15:52:47 -0500, Jan Schaumann wrote:
>> hyan2 <hyan2 at stevens.edu> wrote:
>> 
>>> For ubuntu, I tied to log in as 'ubuntu'. For Amazon linux, I tried to
>>> log in as 'ec2-user'.
>> 
>> Run the following commands:
>> 
>> unalias ls
>> export PS1="$ "
>> script
>> ls -l ~/.ssh
>> <whatever command you use to start the instance>
>> ssh -v <user and hostname of the new instance>
>> exit
>> 
>> Then send the file 'typescript' here.
>> 
>> -Jan
>> _______________________________________________
>> cs615asa mailing list
>> cs615asa at lists.stevens.edu
>> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa
> <typescript>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa


More information about the cs615asa mailing list