weizhouapache commented on issue #7437:
URL: https://github.com/apache/cloudstack/issues/7437#issuecomment-1509799549

   @MilanHofmann 
   When you add a host with password, you can ignore the warning message like 
"unable to connect to host via ssh key", which is not the root cause if you are 
unable to add the host.
   You may need to check other errors in the log.
   
   Regarding adding host via ssh key, please refer to cloudstack documentation: 
https://docs.cloudstack.apache.org/en/latest/installguide/configuration.html#adding-a-host
   ```
   Before adding the host in CloudStack do the following,
   
   Copy the SSH public key from /var/cloudstack/management/.ssh/id_rsa.pub on 
the management server
   Add the copied key to /root/.ssh/authorized_keys file on the host
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to