I did:
$ cat .ssh/id_rsa.pub >> .ssh/authorized_keys

But previous, I (wrongly) did:
$ echo .ssh/id_rsa.pub >> .ssh/authorized_keys

Elben


On Sat, Mar 5, 2011 at 12:17 AM, Mike Bailey <[email protected]> wrote:

> My apologies for the bad typing there! I'll try again.
>
> What did you change to enable you to ssh to localhost on your EC2 instance?
>
>
> On Sat, Mar 5, 2011 at 5:17 PM, Mike Bailey <[email protected]> wrote:
>
>> That doesn't make sense to me. Why did you change to anable you to ssh to
>> localhost on your EC2 instance?
>>
>> - Mike
>>
>>
>> On Sat, Mar 5, 2011 at 5:10 PM, Elben Shira <[email protected]> wrote:
>>
>>> Naturally, I wrongly added my public key to authorized_keys. So once I
>>> did it correctly, everything worked!
>>>
>>> For future sysadmin newbies, if you run into this problem, make sure you
>>> can do, from inside your ec2 instance: ssh localhost
>>>
>>> --
>>> * You received this message because you are subscribed to the Google
>>> Groups "Capistrano" group.
>>> * To post to this group, send email to [email protected]
>>> * To unsubscribe from this group, send email to
>>> [email protected] For more options, visit this
>>> group at http://groups.google.com/group/capistrano?hl=en
>>>
>>
>>
>  --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/capistrano?hl=en
>

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to