-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/9727/#review17325
-----------------------------------------------------------


This looks good to me - and great to see someone is fixing it! 

One slightly strange edge case springs to mind - I think the behavior in this 
edge case is fine, but wanted to bring it up explicitly just in case:

In KVM, if running management server as root, this will set 
/root/.ssh/id_rsa.pub.cloud and /root/.ssh/id_rsa.cloud on management server 
startup.

If running on a single-node setup, the same machine (acting as host) will 
receive the keys and set /root/.ssh/id_rsa.pub.cloud and 
/root/.ssh/id_rsa.cloud again, to the same values. Again, I guess this is fine, 
but wanted to point out the filename clash.





- Dave Cahill


On March 4, 2013, 7:22 a.m., Harikrishna Patnala wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/9727/
> -----------------------------------------------------------
> 
> (Updated March 4, 2013, 7:22 a.m.)
> 
> 
> Review request for cloudstack and Abhinandan Prateek.
> 
> 
> Description
> -------
> 
> SSH keys overwritten for user running management server.
> 
> Fix: Using non-default file names (id_rsa.cloud and id_rsa.pub.cloud) in 
> developer mode.
> 
> 
> This addresses bug CLOUDSTACK-1013.
> 
> 
> Diffs
> -----
> 
>   server/src/com/cloud/server/ConfigurationServerImpl.java c5ae1e2 
> 
> Diff: https://reviews.apache.org/r/9727/diff/
> 
> 
> Testing
> -------
> 
> Tested locally
> 
> 
> Thanks,
> 
> Harikrishna Patnala
> 
>

Reply via email to