<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>Archives des ssh - La programmation sur le web</title>
	<atom:link href="https://programmation.surleweb-france.fr/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>https://programmation.surleweb-france.fr/tag/ssh/</link>
	<description>La programmation gratuite pour tous</description>
	<lastBuildDate>Tue, 08 Mar 2022 17:43:59 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2023/08/cropped-19518430-icone-de-programmation-pour-votre-site-web-mobile-presentation-et-conception-de-logo-gratuit-vectoriel.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>Archives des ssh - La programmation sur le web</title>
	<link>https://programmation.surleweb-france.fr/tag/ssh/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">176210735</site>	<item>
		<title>Raspberry Pi &#8211; Connexion SSH</title>
		<link>https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/</link>
					<comments>https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/#respond</comments>
		
		<dc:creator><![CDATA[Zigomato]]></dc:creator>
		<pubDate>Sun, 17 May 2020 17:00:00 +0000</pubDate>
				<category><![CDATA[Programmation]]></category>
		<category><![CDATA[Raspberry]]></category>
		<category><![CDATA[distance]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pi]]></category>
		<category><![CDATA[raspberry]]></category>
		<category><![CDATA[raspi-config]]></category>
		<category><![CDATA[réseau]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wpa_supplicant]]></category>
		<guid isPermaLink="false">https://programmation.surleweb-france.fr/?p=320</guid>

					<description><![CDATA[<p>Mettre en place une connexion SSH sur votre Raspberry en quelques minutes est très rapide soit par raspi-config soit à  la préparation de la carte SD</p>
<p class="continue-reading-button"> <a class="continue-reading-link" href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/">Continuer la lecture<i class="crycon-right-dir"></i></a></p>
<p>L’article <a href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/">Raspberry Pi &#8211; Connexion SSH</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Le format et les performances du Raspberry PI 4 en font un candidat parfait pour se monter un serveur personnel que ce soit pour un usage local que pour une mise en ligne d&rsquo;un petit site web.</p>



<p>Le contrôle du Raspberry peut se faire graphiquement mais il peut être très utile de mettre une connexion à distance.</p>



<p>Tu verras dans cette page comment activer la connexion SSH sur Raspberry avec deux méthodes différentes.</p>



<h2 class="wp-block-heading">Qu&rsquo;est-ce-que le SSH ?</h2>



<p>Le SSH (pour Secure Shell) est à la fois un protocole de communication et un ensembles d&rsquo;utilitaire. </p>



<p>Ce protocole et ses utilitaires permettent de mettre en place une connexion sécurisée et cryptée avec des clés publiques. </p>



<p>Il n&rsquo;existe pas de failles connues du SSH cependant, les problèmes de sécurité peuvent apparaître à cause de la rotation des clés ou directement du Bash.</p>



<p>Tout les systèmes Linux inclus ce protocole par défaut. En revanche pour Windows, le client SSH peut être activer (voir <a rel="noreferrer noopener" href="https://www.pcastuces.com/pratique/astuces/5235.htm" target="_blank">cette page</a>), quant à l&rsquo;installation d&rsquo;un serveur ssh sur windows, voici comment l&rsquo;activer/l&rsquo;installer, <a rel="noreferrer noopener" href="http://www.kevinsubileau.fr/informatique/astuces-tutoriels/windows-10-client-serveur-ssh-natif.html" target="_blank">lien</a>).</p>



<h2 class="wp-block-heading">Mettre en place le SSH sur ton Raspberry Pi</h2>



<p>Tu verras deux manières :</p>



<ul class="wp-block-list"><li>pendant la préparation de la carte SD</li><li>une fois le Raspberry démarré</li></ul>



<h3 class="wp-block-heading">Installation lors de la préparation de la carte</h3>



<p>Si tu compte utiliser ton Raspberry Pi sans écran ni clavier, c&rsquo;est tout à fait possible, en revanche, il va falloir que tu prévois cela dès le début.</p>



<p>Une fois que tu as créé ta carte SD (par exemple en suivant cette <a rel="noreferrer noopener" href="https://programmation.surleweb-france.fr/pi-imager-installation-facile-raspbian/" target="_blank">article</a>), tu remets ta carte SD dans ton lecteur.</p>



<p>Dans la partition <strong>boot</strong> (accessible même depuis Windows), tu rajoutes un fichier nommé « <strong>ssh</strong> » vide et sans extension :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="658" height="279" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?resize=658%2C279&#038;ssl=1" alt="activer ssh sur carte SD" class="wp-image-369" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?w=658&amp;ssl=1 658w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?resize=300%2C127&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/activer-ssh-sur-carte-SD.png?resize=150%2C64&amp;ssl=1 150w" sizes="(max-width: 658px) 100vw, 658px" /><figcaption>activer ssh sur carte SD</figcaption></figure></div>



<h4 class="wp-block-heading">Raspberry branché à la box en filaire</h4>



<p>Le premier démarrage prendra un petit peu de temps. Si ton Raspberry est relié à la box internet en filaire, une adresse <a href="https://fr.wikipedia.org/wiki/Adresse_IP" target="_blank" rel="noreferrer noopener">ip </a>lui sera attribuée, pour la connaître, rends toi sur la page de ta box, l&rsquo;accès se fera à partir d&rsquo;une adresse différente en fonction de ta box.</p>



<p>Tu vas voir dans les périphériques connectés, l&rsquo;un d&rsquo;eux correspond à ton Raspberry.</p>



<p>Pour te connecter, le login par défaut est « pi » et le mot de passe par défaut est « raspberry ».</p>



<h4 class="wp-block-heading">Raspberry en connexion Wifi</h4>



<p>Je t&rsquo;invite à suivre l&rsquo;article que j&rsquo;ai fait sur la configuration du wifi sur le raspberry pi <a rel="noreferrer noopener" href="https://programmation.surleweb-france.fr/raspberry-activer-le-wifi/(ouvre un nouvel onglet)" target="_blank">ici</a>.</p>



<p>De la même manière qu&rsquo;en filaire, tu dois passer par la page de configuration de ta box pour retrouver l&rsquo;adresse IP.</p>



<h3 class="wp-block-heading">Activation avec raspi-config</h3>



<p>Si ton Raspberry est déjà en route, tu peux facilement activer le SSH, dans un terminal, saisie :</p>



<pre class="EnlighterJSRAW" data-enlighter-language="shell" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo raspi-config</pre>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" decoding="async" width="645" height="389" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?resize=645%2C389&#038;ssl=1" alt="accueil du raspi-config" class="wp-image-373" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?w=645&amp;ssl=1 645w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?resize=300%2C181&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-accueil.png?resize=150%2C90&amp;ssl=1 150w" sizes="(max-width: 645px) 100vw, 645px" /><figcaption>accueil du raspi-config</figcaption></figure></div>



<p>Ensuite, choisis « <strong>Interfacing Options</strong> » :</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img data-recalc-dims="1" decoding="async" width="642" height="387" src="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?resize=642%2C387&#038;ssl=1" alt="Raspi-config iptions interfacing" class="wp-image-374" srcset="https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?w=642&amp;ssl=1 642w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?resize=300%2C181&amp;ssl=1 300w, https://i0.wp.com/programmation.surleweb-france.fr/wp-content/uploads/2020/05/raspi-config-options-interfacing.png?resize=150%2C90&amp;ssl=1 150w" sizes="(max-width: 642px) 100vw, 642px" /><figcaption>Raspi-config iptions interfacing</figcaption></figure></div>



<p>Sélectionner SSH et activer la fonction. Un redémarrage sera nécessaire.</p>



<p>Pour obtenir, l&rsquo;adresse IP, tu peux te référer au chapitre précédent.</p>



<h2 class="wp-block-heading">Conclusion</h2>



<p>Ton Raspberry est maintenant accessible via SSH.</p>
<p>L’article <a href="https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/">Raspberry Pi &#8211; Connexion SSH</a> est apparu en premier sur <a href="https://programmation.surleweb-france.fr">La programmation sur le web</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://programmation.surleweb-france.fr/raspberry-pi-connexion-ssh/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">320</post-id>	</item>
	</channel>
</rss>
