Created on 01-08-2015 03:34 AM - edited 09-16-2022 02:18 AM
Hello,
in order to install a cluster using the CM-Wizard with the private key method i get the following error message:
No provider available for Unknown key file
I used a custom user and select the respective .ppk file.
If i logged in via ssh from a remote machine with the same credentials, it works.
Do you have any ideas or solution?
Thanks and Regards,
butkiz
Created 01-08-2015 03:42 AM
Created 01-08-2015 03:42 AM
Created on 04-21-2015 08:00 AM - edited 04-21-2015 10:19 PM
Hi Gautam
I am using a pem file but still getting the same error.
I also tried to create a open-ssh supported format by using
ssh-keygen -f my.pem -y > my.pub
Could you please help with the correct format that should be used.
Regards,
Harman
Created on 10-19-2015 01:14 PM - edited 10-19-2015 01:16 PM
I am also facing the same problem, m trying to do this in docker containers. I also tried giving private key (id_rsa) but then my browser goes to a freezed state (Pic given below).
It would be really helpful if any one could provide pointers.
Created 11-04-2015 12:15 PM
I'm experiencing this error as well when using the python CM API and calling the host_install command while providing the id_rsa key from the server I'm invoking the python script from. I tried copying the id_rsa file to the CM server /root/.ssh directory as well, but that didn't help. Where should the private key be located when referencing from the host_install command in the python CM API?
Created 11-04-2015 02:06 PM
Created 01-05-2016 04:06 AM
Created 01-05-2016 05:19 AM
bulmanp - The private_key parameter should be the contents of the private key file (in your case, the 2nd option should have worked). Here is the working code I use :
f = open("/root/.ssh/id_rsa", "r")
id_rsa = f.read()
#print id_rsa
f.close()
#passwordless certificate login
apicommand = cm.host_install(user_name="root",
private_key=id_rsa,
host_names=hostIds,
cm_repo_url=cm_repo_url,
java_install_strategy="NONE",
unlimited_jce=True).wait()