`id_rsa.pub` location when adding host using SSH Auth
Currently the path of the id_rsa.pub file that should be added to the /root/.ssh/authorized_hosts isn't correct for CloudStack 4.20.0, see: https://docs.cloudstack.apache.org/en/4.20.0.0/installguide/configuration.html
Based on commit: https://github.com/apache/cloudstack/commit/8952cd59559c09e3a1d33842697d508983af33aa
the key is located at: /var/lib/cloudstack/management/.ssh/id_rsa.pub
Verified on CloudStack 4.20.0 during the initial setup for CloudStack.
📚 Documentation preview 📚: https://cloudstack-documentation--478.org.readthedocs.build/en/478/
:+1:
the home of cloud user is different on ubuntu and RHEL, so the correct location should be ~cloud/.ssh/id_rsa.pub
@daniftodi
👍
the home of
clouduser is different on ubuntu and RHEL, so the correct location should be~cloud/.ssh/id_rsa.pub@daniftodi
Thank you for approving this, I can't merge, probably will be merged by someone with write access.
Isn't the username a configuration passed on the Username field during the configuration of a host?
👍 the home of
clouduser is different on ubuntu and RHEL, so the correct location should be~cloud/.ssh/id_rsa.pub@daniftodi
does this mean we need to adjust the text still more @weizhouapache ?
Thank you for approving this, I can't merge, probably will be merged by someone with write access.
Isn't the username a configuration passed on the
Usernamefield during the configuration of a host?
good point @daniftodi , but I have never seen an installation using anything but the default. could be a good test ;)
closed due to #581