Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide an alternative to setPassword #90

Closed
jo66 opened this issue Feb 1, 2019 · 3 comments
Closed

Provide an alternative to setPassword #90

jo66 opened this issue Feb 1, 2019 · 3 comments

Comments

@jo66
Copy link

jo66 commented Feb 1, 2019

Hi,

The /vps/{serviceName}/setPassword method returns this on my VPS (SSD1-2018):
"This function is not available on your VPS"

From the OVH support:

Cet appel API est déprécié. Il est désormais proposé pour les VPS 2014.

I guess it was deprecated for security reasons, but API should provide an alternative way to set password, or at least any other way to connect in ssh from script to VPS newly ordered with API.

I agree to contribute with a PR but I need help.

I really don't want my script to fetch mails to obtain password, it would be very ugly!

Regards

@Alkorin
Copy link
Member

Alkorin commented Feb 5, 2019

You can use OVH Public Cloud and set a SSH public key when you start your instances.
And then, no more password ;)

@jo66
Copy link
Author

jo66 commented Feb 5, 2019

@Alkorin I am not specialist in OVH offers but Public Cloud involves monthly fees right?

@jo66
Copy link
Author

jo66 commented Feb 5, 2019

A better solution than fetching email is to use API to get notifications.
Seems that it's also possible to use ssh key by reinstalling VPS with /vps/{serviceName}/reinstall.
Since ssh key is more secure than password I will close this issue for #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants