aws-solutions / cloud-migration-factory-on-aws

The Cloud Migration Factory on AWS solution is designed to coordinate and automate manual processes for large-scale migrations. This solution helps enterprises improve performance and prevents long cutover windows by providing an orchestration platform for migrating workloads to AWS at scale.
https://aws.amazon.com/solutions/implementations/cloud-migration-factory-on-aws/
Apache License 2.0
60 stars 63 forks source link

Linux sudo authentication step isn't recognizing SSH key method #2

Closed juluriaj closed 2 years ago

juluriaj commented 3 years ago

Running the step to install CloudEndure agent on servers using command "python 1-CEAgentInstall.py --Waveid 1"

At the following step, when user enters capital Y instead of small Y, its not recognizing SSH key based authentication, instead it is trying password based.

At line # 312, _has_key should check for both Y and y.

            status = linuxpkg.install_cloud_endure(server['server_fqdn'], user_name,
                                                 pass_key,
                                          **_has_key in 'y'_**, project['InstallToken'])

Error Log: