Created
November 4, 2017 02:48
-
-
Save francosalcedo/d2ec5c05dabcbea0008136fe6b49599a to your computer and use it in GitHub Desktop.
Cambiar contraseña a un VPS OVH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cambiar contraseña VPS OVH | |
1.- Entrar en modo rescate (reniciando vps) | |
2.- Buscar los accesos temporales en el correo, por si no te deja entrar al vps:: ssh-keygen -R ip-vps | |
3.- Comprobar el disco donde esta montado el vps : | |
# fdisk -l | |
El dispositivo seguido del * es el disco booteable (la partición del vps principal) | |
(http://docs.ovh.ca/en/guides-ovh-rescue.html#mounting-disk-s ) | |
4.- mount /dev/{particion} /mnt/ | |
5.- chroot /mnt | |
6.- passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment