<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>sujet Re: Administrer mon Raspberry pi via ssh avec ma livebox. dans ma connexion</title>
    <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402950#M146496</link>
    <description>&lt;P&gt;OK&lt;/P&gt;
&lt;P&gt;Qu'y a t-il dans ton fichier known_hosts&lt;/P&gt;
&lt;P&gt;Ton daemon sshd a été démarré avec quelles options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quelle valeur y a t-il dans CheckHostIp&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="comic sans ms,sans-serif" color="#333300"&gt;&lt;STRONG&gt;CheckHostIP&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="comic sans ms,sans-serif" color="#333300"&gt; If this flag is set to ''yes'', &lt;STRONG&gt;&lt;A href="https://linux.die.net/man/1/ssh" rel="nofollow" target="_blank"&gt;ssh&lt;/A&gt;&lt;/STRONG&gt;(1) will additionally check the host IP address in the &lt;I&gt;known_hosts&lt;/I&gt; file. This allows ssh to detect if a host key changed due to DNS spoofing. If the option is set to ''no'', the check will not be executed. The default is ''yes''."&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normalement ça ne sert à rien d'utiliser ssh si tu n'as pas rempli le fichier known_hosts&lt;/P&gt;
&lt;P&gt;Sinon autant te connecter en telnet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;J'avoue que j'ai complètement oublié comment on trouvait la clé du hosts à mettre dans le fichier known_hosts.&lt;/P&gt;
&lt;P&gt;Je t'invite à le chercher dasn le man en&amp;nbsp; cherchant dans ssh, open_ssh, known_hosts, ...&lt;/P&gt;
&lt;P&gt;Il se pourrait aussi que tu trouves ça dans la documentation de putty (basé sur openssh).&lt;/P&gt;
&lt;P&gt;J'ai passé l'age de jouer à ça, à ton tour !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Le site die.net contient une &lt;A href="https://linux.die.net/man/5/ssh_config" target="_blank"&gt;très bonne version du man&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bon courage&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;PhilDur&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Oct 2017 12:02:05 GMT</pubDate>
    <dc:creator>PhilDur</dc:creator>
    <dc:date>2017-10-21T12:02:05Z</dc:date>
    <item>
      <title>Administrer mon Raspberry pi via ssh avec ma livebox.</title>
      <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402734#M146457</link>
      <description>&lt;P&gt;bonjour,&lt;/P&gt;&lt;P&gt;j'avoue être arrivé au bout de mes compétances concernant se problème et donc j'espère que quelqu'un aura la réponse. J'ai beau lire les fils ressemblant à mon problème aucune procédure ne fonctionne pour moi. Mon problème est le suivant: Je voudrais administrer mon raspberry pi (que j'abrègerais Rpi) via ssh et qui est connecté à ma livebox fibre (livebox play ou livebox v3). Voivi ma config actuelle (celle que moi j'ai fait):&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;DHCP ( il est activé) distribue des adresses de 192.168.1.10 à 192.168.1.150&lt;/P&gt;&lt;P&gt;Baux statique pour mon Rpi: 192.168.1.2 (que j'ai apellé raspberrypi)&lt;/P&gt;&lt;P&gt;DMZ activé sur le 192.168.1.2&lt;/P&gt;&lt;P&gt;règle NAT/PAT redirection de port 22/TCP et 22/UDP vers raspberrypi&lt;/P&gt;&lt;P&gt;pare feux réglage sur moyen (réglage sur faible ne change rien)&lt;/P&gt;&lt;P&gt;Adresse publique IPV4: pu_IPv4 (trouver par &lt;A href="https://www.whatismyip.com/fr/" target="_blank"&gt;https://www.whatismyip.com/fr/&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;Protocole IPv6 désactivé&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;Précision: mon Rpi est en filaire, branché directement à un port RJ45 de la box, sur mon ordinateur j'ai une distribution GNU/Linux, une distribution Debian version 9, et sur mon Rpi une rasbian (à jour).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ ssh login@192.168.1.2 #OK&lt;/PRE&gt;&lt;P&gt;ou&lt;/P&gt;&lt;PRE&gt;$ ssh login@raspberrypi #OK&lt;/PRE&gt;&lt;P&gt;mais&lt;/P&gt;&lt;PRE&gt;$ ssh login@pu_IPv4 #KO&lt;/PRE&gt;&lt;P&gt;me retourne un message d'erreur (au bout d'une dizaine de minute)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Connection closed by pu_IPv4 port 22&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Comme je l'ai dit ayant atteint les limite de ma compétances, je fais appel à vous pour résoudre mon problème (bon j'avoue je pense en particulier &lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/21938"&gt;@PhilDur&lt;/a&gt; mais je ne suis pas sectaire j'accepte l'aide de tout le monde :smileyvery-happy: ).&lt;/P&gt;&lt;P&gt;Par avance merci de vos réponse&lt;/P&gt;&lt;P&gt;Cordialement,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 08:05:50 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402734#M146457</guid>
      <dc:creator>Spirale21</dc:creator>
      <dc:date>2017-10-21T08:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Administrer mon Raspberry pi via ssh avec ma livebox.</title>
      <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402851#M146476</link>
      <description>&lt;P&gt;Bonjour Spirale21&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communaute.orange.fr/t5/user/viewprofilepage/user-id/10864979"&gt;@Spirale21&lt;/a&gt; a écrit&amp;nbsp;:&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;DHCP ( il est activé) distribue des adresses de 192.168.1.10 à 192.168.1.150&lt;/P&gt;
&lt;P&gt;Baux statique pour mon Rpi: 192.168.1.2 (que j'ai apellé raspberrypi)&lt;/P&gt;
&lt;P&gt;DMZ activé sur le 192.168.1.2 &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Pour moi il y a là un manque de cohérence.&lt;/P&gt;
&lt;P&gt;Modifie le bail DHCP et génère un bail ;&lt;/P&gt;
&lt;P&gt;Rpi: 192.168.1.150&lt;/P&gt;
&lt;P&gt;La plus haute adresse DANS la plage DHCP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Essaye ça et tiens nous au courant.&lt;/P&gt;
&lt;P&gt;Cordialement&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT color="#0000FF"&gt;PhilDur&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 09:15:46 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402851#M146476</guid>
      <dc:creator>PhilDur</dc:creator>
      <dc:date>2017-10-21T09:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Administrer mon Raspberry pi via ssh avec ma livebox.</title>
      <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402935#M146489</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;Merci de ta réponse si rapide: j'ai donc essayer un bail statique pour mon Rpi à l'adresse 192.168.1.150 (la plus haute délivrée par mon DHCP)&amp;nbsp; (j'ai changé ma DMZ aussi)&lt;/P&gt;&lt;P&gt;donc&lt;/P&gt;&lt;PRE&gt;$ ssh login@192.168.1.150 #OK
$ ssh login@raspberrypi #OK&lt;/PRE&gt;&lt;P&gt;mais&lt;/P&gt;&lt;PRE&gt;$ssh login@pu_IPv4 #NOK 
ssh: connect to host pu_IPv4 port 22: Connection timed out&lt;/PRE&gt;&lt;P&gt;Cordialement&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 11:43:30 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402935#M146489</guid>
      <dc:creator>Spirale21</dc:creator>
      <dc:date>2017-10-21T11:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Administrer mon Raspberry pi via ssh avec ma livebox.</title>
      <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402950#M146496</link>
      <description>&lt;P&gt;OK&lt;/P&gt;
&lt;P&gt;Qu'y a t-il dans ton fichier known_hosts&lt;/P&gt;
&lt;P&gt;Ton daemon sshd a été démarré avec quelles options&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Quelle valeur y a t-il dans CheckHostIp&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;FONT face="comic sans ms,sans-serif" color="#333300"&gt;&lt;STRONG&gt;CheckHostIP&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="comic sans ms,sans-serif" color="#333300"&gt; If this flag is set to ''yes'', &lt;STRONG&gt;&lt;A href="https://linux.die.net/man/1/ssh" rel="nofollow" target="_blank"&gt;ssh&lt;/A&gt;&lt;/STRONG&gt;(1) will additionally check the host IP address in the &lt;I&gt;known_hosts&lt;/I&gt; file. This allows ssh to detect if a host key changed due to DNS spoofing. If the option is set to ''no'', the check will not be executed. The default is ''yes''."&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normalement ça ne sert à rien d'utiliser ssh si tu n'as pas rempli le fichier known_hosts&lt;/P&gt;
&lt;P&gt;Sinon autant te connecter en telnet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;J'avoue que j'ai complètement oublié comment on trouvait la clé du hosts à mettre dans le fichier known_hosts.&lt;/P&gt;
&lt;P&gt;Je t'invite à le chercher dasn le man en&amp;nbsp; cherchant dans ssh, open_ssh, known_hosts, ...&lt;/P&gt;
&lt;P&gt;Il se pourrait aussi que tu trouves ça dans la documentation de putty (basé sur openssh).&lt;/P&gt;
&lt;P&gt;J'ai passé l'age de jouer à ça, à ton tour !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Le site die.net contient une &lt;A href="https://linux.die.net/man/5/ssh_config" target="_blank"&gt;très bonne version du man&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bon courage&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;PhilDur&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 12:02:05 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1402950#M146496</guid>
      <dc:creator>PhilDur</dc:creator>
      <dc:date>2017-10-21T12:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: Administrer mon Raspberry pi via ssh avec ma livebox.</title>
      <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1403138#M146521</link>
      <description>&lt;P&gt;- dans mon fichier know_hosts il y a les fingerprint des IP distante haché en SHA256.&lt;/P&gt;&lt;P&gt;- dans mon ssh_config (il est en commentaire)&lt;/P&gt;&lt;PRE&gt;#   CheckHostIP yes&lt;/PRE&gt;&lt;P&gt;Je me suis aussi fié à cette page :&amp;nbsp; &lt;A href="https://man.openbsd.org/sshd" target="_blank"&gt;https://man.openbsd.org/sshd&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
   Active: active (running) since Sat 2017-10-21 11:17:19 CEST; 7h ago
  Process: 4233 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCES
 Main PID: 440 (sshd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/ssh.service
           └─440 /usr/sbin/sshd -D

oct. 21 13:32:20 Asus systemd[1]: Reloading OpenBSD Secure Shell server.
oct. 21 13:32:20 Asus sshd[440]: Received SIGHUP; restarting.
oct. 21 13:32:20 Asus systemd[1]: Reloaded OpenBSD Secure Shell server.
oct. 21 13:32:20 Asus sshd[440]: Server listening on 0.0.0.0 port 22.
oct. 21 13:32:20 Asus sshd[440]: Server listening on :: port 22.
oct. 21 13:32:20 Asus systemd[1]: Reloading OpenBSD Secure Shell server.
oct. 21 13:32:20 Asus sshd[440]: Received SIGHUP; restarting.
oct. 21 13:32:20 Asus systemd[1]: Reloaded OpenBSD Secure Shell server.
oct. 21 13:32:20 Asus sshd[440]: Server listening on 0.0.0.0 port 22.
oct. 21 13:32:20 Asus sshd[440]: Server listening on :: port 22.&lt;/PRE&gt;&lt;P&gt;Après pour les options du démon ssh... j'ai tout laissé par défaut&lt;/P&gt;&lt;P&gt;Merci de vouloir m'aider&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Oct 2017 17:13:49 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/1403138#M146521</guid>
      <dc:creator>Spirale21</dc:creator>
      <dc:date>2017-10-21T17:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Administrer mon Raspberry pi via ssh avec ma livebox.</title>
      <link>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/2120121#M245867</link>
      <description>&lt;P&gt;Bonjour, j'ai le même problème,&lt;/P&gt;&lt;P&gt;La commande&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ssh -vvv pi@ip_publique&lt;/PRE&gt;&lt;P&gt;me renvoi&lt;/P&gt;&lt;PRE&gt;OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "x.x.x.x" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to x.x.x.x [x.x.x.x] port 22.
debug1: Connection established.
debug1: identity file /home/gabriel/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/gabriel/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.9p1 Raspbian-10+deb10u2
debug1: match: OpenSSH_7.9p1 Raspbian-10+deb10u2 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to x.x.x.x:22 as 'pi'
debug3: hostkeys_foreach: reading file "/home/gabriel/.ssh/known_hosts"
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
Connection closed by x.x.x.x port 22&lt;/PRE&gt;</description>
      <pubDate>Sat, 29 Feb 2020 17:01:55 GMT</pubDate>
      <guid>https://communaute.orange.fr/t5/ma-connexion/Administrer-mon-Raspberry-pi-via-ssh-avec-ma-livebox/m-p/2120121#M245867</guid>
      <dc:creator>Gabriel25</dc:creator>
      <dc:date>2020-02-29T17:01:55Z</dc:date>
    </item>
  </channel>
</rss>

