diff --git a/ssh.md b/ssh.md index c748f9e3..36963fc5 100644 --- a/ssh.md +++ b/ssh.md @@ -14,7 +14,7 @@ If you are installing at home (e.g. on a Raspberry Pi or OLinuXino), then you ne - open a terminal and use `sudo arp-scan --local` to list the IP on your local network ; - use your internet box / router interface to list the machines connected, or check the logs ; -- plug a screen on your server, log in and type `ifconfig`. +- plug a screen on your server, log in and type `hostname --all-ip-address`. #### Connect diff --git a/ssh_fr.md b/ssh_fr.md index 4ae5c852..c84e364c 100644 --- a/ssh_fr.md +++ b/ssh_fr.md @@ -14,7 +14,7 @@ Si vous installez un serveur à la maison (par ex. sur Raspberry Pi ou OLinuXino - ouvrez un terminal et tapez `sudo arp-scan --local` pour lister les IP des machines sur le réseau local ; - utilisez l'interface de votre box internet pour lister les machines connectées, ou regarder les logs ; -- branchez un écran sur votre serveur, loggez-vous et tapez `ifconfig`. +- branchez un écran sur votre serveur, loggez-vous et tapez `hostname --all-ip-address`. #### Se connecter