<?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/"
	>

<channel>
	<title>The Troll&#039;s factory &#187; rsa</title>
	<atom:link href="http://trollfactory.fr/tag/rsa/feed" rel="self" type="application/rss+xml" />
	<link>http://trollfactory.fr</link>
	<description>Geekeries &#38; pensées</description>
	<lastBuildDate>Mon, 09 Jun 2014 19:43:25 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>S&#8217;identifier en SSH sans mot de passe à l&#8217;aide d&#8217;une clé RSA &#8212; SSHA Authentication without password using a RSA key</title>
		<link>http://trollfactory.fr/sidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382</link>
		<comments>http://trollfactory.fr/sidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382#comments</comments>
		<pubDate>Mon, 02 May 2011 11:55:36 +0000</pubDate>
		<dc:creator><![CDATA[Troll]]></dc:creator>
				<category><![CDATA[Administration serveur]]></category>
		<category><![CDATA[astuces]]></category>
		<category><![CDATA[Geekeries]]></category>
		<category><![CDATA[astuce]]></category>
		<category><![CDATA[clé publique]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[infogérance]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[rsa]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[serveur]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://trollfactory.fr/?p=382</guid>
		<description><![CDATA[Non seulement c&#8217;est plus sécurisé, mais en plus c&#8217;est quand même carrément plus pratique, voici comment configurer en 30 secondes (top chrono !) votre accès SSH sur votre serveur favoris à l&#8217;aide d&#8217;une clé RSA plutôt avec qu&#8217;un vieux mot de passe soit pas sécurisé, soit que vous n&#8217;arrivez pas à retenir : Générer la [...]]]></description>
				<content:encoded><![CDATA[<p>Non seulement c&rsquo;est plus sécurisé, mais en plus c&rsquo;est quand même carrément plus pratique,<strong> voici comment configurer en 30 secondes</strong> (top chrono !) votre accès SSH sur votre serveur favoris à l&rsquo;aide d&rsquo;une clé RSA plutôt avec qu&rsquo;un vieux mot de passe soit pas sécurisé, soit que vous n&rsquo;arrivez pas à retenir :</p>
<p><strong>Générer la clé : 10 secondes</strong><br />
<code>$ ssh-keygen -t rsa<br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (/home/thouveni/.ssh/id_rsa):<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /home/[utilisateur]/.ssh/id_rsa.<br />
Your public key has been saved in /home/[utilisateur]/.ssh/id_rsa.pub.<br />
The key fingerprint is:</code></p>
<p><strong>La &laquo;&nbsp;propager&nbsp;&raquo; : 10 secondes :</strong><br />
<code>$ cat $HOME/.ssh/id_rsa.pub | ssh [utilisateur@]machine "mkdir -p .ssh; chmod 700 .ssh; cat &gt;&gt; .ssh/authorized_keys"</code><br />
<strong><em>Note : si vous utilisez un port particulier (comme le port 42 par exemple), il faut rajouter &laquo;&nbsp;-p 42&Prime; AVANT la commande entre guillemets, et APRÈS &laquo;&nbsp;[utilisateur]@machine&nbsp;&raquo; (entre les deux)</em></strong></p>
<p><strong>Tester que ça marche : 10 secondes</strong><br />
<code>ssh [utilisateur@]machine</code></p>
<p>Enjoy <img src="//trollfactory.fr/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
<p><span style="font-size:1.25em">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; For our English readers : &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</span></p>
<p>Not only it&rsquo;s more secured, but much more praticle as well, <strong>here is how to configure in 30 seconds</strong> (timer in hand !) your SSH access to your favourite server using a RSA key instead of an old-fashionned password which is either not secured either secured but impossible to remember !</p>
<p><strong>Generating the key: 10 seconds</strong><br />
<code>$ ssh-keygen -t rsa<br />
Generating public/private rsa key pair.<br />
Enter file in which to save the key (/home/[user]/.ssh/id_rsa):<br />
Enter passphrase (empty for no passphrase):<br />
Enter same passphrase again:<br />
Your identification has been saved in /home/[user]/.ssh/id_rsa.<br />
Your public key has been saved in /home/[user]/.ssh/id_rsa.pub.<br />
The key fingerprint is:</code></p>
<p><strong>&laquo;&nbsp;Broadcasting&nbsp;&raquo; it: 10 seconds</strong><br />
<code>$ cat $HOME/.ssh/id_rsa.pub | ssh [user@]host "mkdir -p .ssh; chmod 700 .ssh; cat &gt;&gt; .ssh/authorized_keys"</code><br />
<strong><em>Note : if you use a specific port (as for instance the 42 one), you have to add &laquo;&nbsp;-p 42&Prime; BEFORE the command in quotes, and AFTER &laquo;&nbsp;[user]@host&nbsp;&raquo; (between the two)</em></strong></p>
<p><strong>Testing it works: 10 seconds</strong><br />
<code>ssh [user@]host </code></p>
<p>Enjoy <img src="//trollfactory.fr/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>
Share and Enjoy:<a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/printfriendly.png" class="sociable-img sociable-hovers" title="Print" alt="Print" /></a><a rel="nofollow" target="_blank"  href="http://www.printfriendly.com/print/new?url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/pdf.png" class="sociable-img sociable-hovers" title="PDF" alt="PDF" /></a><a rel="nofollow" target="_blank"  href="http://twitter.com/home?status=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key%20-%20http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/twitter.png" class="sociable-img sociable-hovers" title="Twitter" alt="Twitter" /></a><a rel="nofollow" target="_blank"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;t=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/facebook.png" class="sociable-img sociable-hovers" title="Facebook" alt="Facebook" /></a><a rel="nofollow" target="_blank"  href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&amp;source=The+Troll%26%23039%3Bs+factory+Geekeries+%26amp%3B+pens%C3%A9es&amp;summary=Non%20seulement%20c%27est%20plus%20s%C3%A9curis%C3%A9%2C%20mais%20en%20plus%20c%27est%20quand%20m%C3%AAme%20carr%C3%A9ment%20plus%20pratique%2C%20voici%20comment%20configurer%20en%2030%20secondes%20%28top%20chrono%20%21%29%20votre%20acc%C3%A8s%20SSH%20sur%20votre%20serveur%20favoris%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20plut%C3%B4t%20avec%20qu%27un%20vieux%20mot%20de%20p" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/linkedin.png" class="sociable-img sociable-hovers" title="LinkedIn" alt="LinkedIn" /></a><a rel="nofollow" target="_blank"  href="http://trollfactory.fr/feed" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/rss.png" class="sociable-img sociable-hovers" title="RSS" alt="RSS" /></a><a rel="nofollow" target="_blank"  href="http://www.wikio.fr/vote?url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/wikio.png" class="sociable-img sociable-hovers" title="Wikio FR" alt="Wikio FR" /></a><a rel="nofollow" target="_blank"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&amp;bodytext=Non%20seulement%20c%27est%20plus%20s%C3%A9curis%C3%A9%2C%20mais%20en%20plus%20c%27est%20quand%20m%C3%AAme%20carr%C3%A9ment%20plus%20pratique%2C%20voici%20comment%20configurer%20en%2030%20secondes%20%28top%20chrono%20%21%29%20votre%20acc%C3%A8s%20SSH%20sur%20votre%20serveur%20favoris%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20plut%C3%B4t%20avec%20qu%27un%20vieux%20mot%20de%20p" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/digg.png" class="sociable-img sociable-hovers" title="Digg" alt="Digg" /></a><a rel="nofollow" target="_blank"  href="http://delicious.com/post?url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&amp;notes=Non%20seulement%20c%27est%20plus%20s%C3%A9curis%C3%A9%2C%20mais%20en%20plus%20c%27est%20quand%20m%C3%AAme%20carr%C3%A9ment%20plus%20pratique%2C%20voici%20comment%20configurer%20en%2030%20secondes%20%28top%20chrono%20%21%29%20votre%20acc%C3%A8s%20SSH%20sur%20votre%20serveur%20favoris%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20plut%C3%B4t%20avec%20qu%27un%20vieux%20mot%20de%20p" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/delicious.png" class="sociable-img sociable-hovers" title="del.icio.us" alt="del.icio.us" /></a><a rel="nofollow" target="_blank"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&amp;annotation=Non%20seulement%20c%27est%20plus%20s%C3%A9curis%C3%A9%2C%20mais%20en%20plus%20c%27est%20quand%20m%C3%AAme%20carr%C3%A9ment%20plus%20pratique%2C%20voici%20comment%20configurer%20en%2030%20secondes%20%28top%20chrono%20%21%29%20votre%20acc%C3%A8s%20SSH%20sur%20votre%20serveur%20favoris%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20plut%C3%B4t%20avec%20qu%27un%20vieux%20mot%20de%20p" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/googlebookmark.png" class="sociable-img sociable-hovers" title="Google Bookmarks" alt="Google Bookmarks" /></a><a rel="nofollow" target="_blank"  href="http://technorati.com/faves?add=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/technorati.png" class="sociable-img sociable-hovers" title="Technorati" alt="Technorati" /></a><a rel="nofollow" target="_blank"  href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/sphinn.png" class="sociable-img sociable-hovers" title="Sphinn" alt="Sphinn" /></a><a rel="nofollow" target="_blank"  href="http://www.mixx.com/submit?page_url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/mixx.png" class="sociable-img sociable-hovers" title="Mixx" alt="Mixx" /></a><a rel="nofollow" target="_blank" title="Add to favorites" href="#" onclick="AddToFavorites(); return false;"><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/addtofavorites.png" class="sociable-img sociable-hovers" title="Add to favorites" alt="Add to favorites" /></a><a rel="nofollow" target="_blank"  href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/live.png" class="sociable-img sociable-hovers" title="Live" alt="Live" /></a><a rel="nofollow" target="_blank"  href="http://www.netvibes.com/share?title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&amp;url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/netvibes.png" class="sociable-img sociable-hovers" title="Netvibes" alt="Netvibes" /></a><a rel="nofollow" target="_blank"  href="http://www.scoopeo.com/scoop/new?newurl=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/scoopeo.png" class="sociable-img sociable-hovers" title="Scoopeo" alt="Scoopeo" /></a><a rel="nofollow" target="_blank"  href="http://www.viadeo.com/shareit/share/?url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&urllanguage=fr" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/viadeo.png" class="sociable-img sociable-hovers" title="viadeo FR" alt="viadeo FR" /></a><a rel="nofollow" target="_blank"  href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/identica.png" class="sociable-img sociable-hovers" title="Identi.ca" alt="Identi.ca" /></a><a rel="nofollow" target="_blank"  href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;t=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/myspace.png" class="sociable-img sociable-hovers" title="MySpace" alt="MySpace" /></a><a rel="nofollow" target="_blank"  href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;title=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/stumbleupon.png" class="sociable-img sociable-hovers" title="StumbleUpon" alt="StumbleUpon" /></a><a rel="nofollow" target="_blank"  href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Ftrollfactory.fr%2Fsidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382&amp;submitHeadline=S%27identifier%20en%20SSH%20sans%20mot%20de%20passe%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20--%20SSHA%20Authentication%20without%20password%20using%20a%20RSA%20key&amp;submitSummary=Non%20seulement%20c%27est%20plus%20s%C3%A9curis%C3%A9%2C%20mais%20en%20plus%20c%27est%20quand%20m%C3%AAme%20carr%C3%A9ment%20plus%20pratique%2C%20voici%20comment%20configurer%20en%2030%20secondes%20%28top%20chrono%20%21%29%20votre%20acc%C3%A8s%20SSH%20sur%20votre%20serveur%20favoris%20%C3%A0%20l%27aide%20d%27une%20cl%C3%A9%20RSA%20plut%C3%B4t%20avec%20qu%27un%20vieux%20mot%20de%20p&amp;submitCategory=science&amp;submitAssetType=text" ><img src="//trollfactory.fr/wp-content/plugins/sociable-30/images/default/16/yahoobuzz.png" class="sociable-img sociable-hovers" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://trollfactory.fr/sidentifier-en-ssh-sans-mot-de-passe-a-laide-dune-cle-rsa-ssha-authentication-without-password-using-a-rsa-key-382/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
