From 6612510a4751be7be6b999f53c221742d0838f1b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 7 Jan 2019 15:24:43 +0100 Subject: [PATCH] Using hostname --all-ip-address gives a much simpler output --- ssh.md | 2 +- ssh_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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