I resolved this issue by copying the keys to a different directory,  
then created a bash script that used the boot_finished hook to copy  
them in place

On Jun 3, 2009, at 5:22 AM, Alex Kovalyov <[email protected]>  
wrote:

>
>
>
> On 2 июн, 16:43, "[email protected]"
> <[email protected]> wrote:
>> Ok thanks. I think I'd just come to that realisation! Can I ask why /
>> root/.ssh is excluded out of interest?
>
> To prevent someone that gain access to your  AMI from reading sensible
> data.
>>
>> On Jun 2, 2:38 pm, Nickolas Toursky <[email protected]> wrote:
>>
>>> Hi,
>>
>>> /root/.ssh/ is omitted during synchronize, I'd suggest you to place
>>> your keys into different location.
>>
>>> Nick
>>
>>> On Tue, Jun 2, 2009 at 3:54 PM, [email protected]
>>
>>> <[email protected]> wrote:
>>
>>>> Hi,
>>
>>>> I'm setting up SSH between two instances. I'm using:
>>
>>>> ssh-keygen -t rsa
>>
>>>> To get my public/private key pair then pushing that over to my  
>>>> remote
>>>> server using:
>>
>>>> ssh-copy-id -i ~/.ssh/id_rsa.pub my_u...@my_remoteserver.com
>>
>>>> When I then test ssh it works fine. I synchronize my remote  
>>>> instance
>>>> and test ssh again, it still works. When I synchronize my local
>>>> instance though SSH has stopped working when the instance comes  
>>>> back
>>>> up. I'm prompted for a password instead of it accepting the
>>>> connection.
>>
>>>> Can anyone help please?
>>
>>
> >

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" 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/scalr-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to