auto-heber:yuno-connexion-root
Différences
Ci-dessous, les différences entre deux révisions de la page.
— | auto-heber:yuno-connexion-root [2024/01/28 23:48] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | Quand je suis sur ma machine l' | ||
+ | < | ||
+ | |||
+ | Connexion ssh sur le rpi (l' | ||
+ | |||
+ | < | ||
+ | d@d-nuc:~$ ssh root@192.168.0.106 | ||
+ | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | ||
+ | @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! | ||
+ | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | ||
+ | IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! | ||
+ | Someone could be eavesdropping on you right now (man-in-the-middle attack)! | ||
+ | It is also possible that a host key has just been changed. | ||
+ | The fingerprint for the ECDSA key sent by the remote host is | ||
+ | SHA256: | ||
+ | Please contact your system administrator. | ||
+ | Add correct host key in / | ||
+ | Offending ECDSA key in / | ||
+ | remove with: | ||
+ | ssh-keygen -f "/ | ||
+ | ECDSA host key for 192.168.0.106 has changed and you have requested strict checking. | ||
+ | Host key verification failed. | ||
+ | </ | ||
+ | |||
+ | Ceci arrive quand pour la même machine on a déjà établi une connexion sécurisée (au cours de mes essais précédents. On fait donc ce qui est demandé (//copié en surlignant avec la souris et clic droit au bon endroit : c'est une manip très utile qu'il faut connaître, au lieu de retaper on fait beaucoup de copié collé. De même il faut savoir qu' | ||
+ | |||
+ | < | ||
+ | d@d-nuc: | ||
+ | # Host 192.168.0.106 found: line 2 | ||
+ | / | ||
+ | Original contents retained as / | ||
+ | </ | ||
+ | |||
+ | On se connecte par ssh en répondant yes à la question et en fournissant le mot de passe par défaut : yunohost puis en donnant un nouveau mot de passe de qualité | ||
+ | |||
+ | < | ||
+ | d@d-nuc:~$ ssh root@192.168.0.106 | ||
+ | The authenticity of host ' | ||
+ | ECDSA key fingerprint is SHA256: | ||
+ | Are you sure you want to continue connecting (yes/no)? yes | ||
+ | Warning: Permanently added ' | ||
+ | root@192.168.0.106' | ||
+ | You are required to change your password immediately (root enforced) | ||
+ | Linux raspberrypi 4.14.66-v7+ #1137 SMP Fri Aug 24 16:36:53 BST 2018 armv7l | ||
+ | |||
+ | The programs included with the Debian GNU/Linux system are free software; | ||
+ | the exact distribution terms for each program are described in the | ||
+ | individual files in / | ||
+ | |||
+ | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | ||
+ | permitted by applicable law. | ||
+ | Changing password for root. | ||
+ | (current) UNIX password: | ||
+ | Enter new UNIX password: | ||
+ | Retype new UNIX password: | ||
+ | -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | ||
+ | -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | ||
+ | ====================================================================== | ||
+ | |||
+ | | ||
+ | |||
+ | To finish the installation, | ||
+ | You can find documentation about it on : | ||
+ | | ||
+ | |||
+ | You can run it from the command line interface with : | ||
+ | $ yunohost tools postinstall | ||
+ | |||
+ | Or from a browser by accessing one of your local IP : | ||
+ | | ||
+ | |||
+ | ====================================================================== | ||
+ | |||
+ | Wi-Fi is disabled because the country is not set. | ||
+ | Use raspi-config to set the country before use. | ||
+ | |||
+ | </ | ||
+ | |||
+ | On clos la session | ||
+ | |||
+ | < | ||
+ | root@raspberrypi: | ||
+ | logout | ||
+ | Connection to 192.168.0.106 closed. | ||
+ | </ | ||
+ | |||
+ | On s' | ||
+ | |||
+ | < | ||
+ | d@d-nuc:~$ ssh root@192.168.0.106 | ||
+ | root@192.168.0.106' | ||
+ | Linux raspberrypi 4.14.66-v7+ #1137 SMP Fri Aug 24 16:36:53 BST 2018 armv7l | ||
+ | |||
+ | The programs included with the Debian GNU/Linux system are free software; | ||
+ | the exact distribution terms for each program are described in the | ||
+ | individual files in / | ||
+ | |||
+ | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | ||
+ | permitted by applicable law. | ||
+ | -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | ||
+ | -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | ||
+ | ====================================================================== | ||
+ | |||
+ | | ||
+ | |||
+ | To finish the installation, | ||
+ | You can find documentation about it on : | ||
+ | | ||
+ | |||
+ | You can run it from the command line interface with : | ||
+ | $ yunohost tools postinstall | ||
+ | |||
+ | Or from a browser by accessing one of your local IP : | ||
+ | | ||
+ | |||
+ | ====================================================================== | ||
+ | |||
+ | Wi-Fi is disabled because the country is not set. | ||
+ | Use raspi-config to set the country before use. | ||
+ | </ | ||
+ | |||
+ | quand on voit dans la console l' | ||
+ | < | ||
+ | |||
+ | On se déconnecte du rpi et on se retrouve dans ma machine | ||
+ | |||
+ | < | ||
+ | root@raspberrypi: | ||
+ | logout | ||
+ | Connection to 192.168.0.106 closed. | ||
+ | d@d-nuc: | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | On peut passer à la suite [[auto-heber: |
auto-heber/yuno-connexion-root.txt · Dernière modification : 2024/01/28 23:48 de 127.0.0.1