Our instances are in Amazon cloud and we use FreeNX with Centos5 for running legacy software and upgrade is not an option. The version of sshd that ships with Centos5 does not support multiple options for
AuthorizedKeysFile (newer versions of sshd do), so something like "
AuthorizedKeysFile %h/.ssh/authorized_keys %h/.ssh/authorized_keys2" will not work on Centos5 but it seems that "
.ssh/authorized_keys .ssh/authorized_keys2" this is the default. So the only way to make FreeNX work is to comment out all occurrences of
AuthorizedKeysFile line entirely and this is where scalarizr agent steps in to cause problems. So, I think your suggestion to only set this parameter on clouds that require it is the only sensible way to do it.
Essentially as of now we cannot use FreeNX with any instances started by Scalr and there is no workaround. This is a major roadblock for my client as they intend to abandon RightScale by the end of this year and Scalr is a plausible candidate. So, please consider addressing this issue in your future releases.
Regards,
Dmitri