<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://doc.ycharbi.fr/index.php?action=history&amp;feed=atom&amp;title=Rssh</id>
	<title>Rssh - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://doc.ycharbi.fr/index.php?action=history&amp;feed=atom&amp;title=Rssh"/>
	<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Rssh&amp;action=history"/>
	<updated>2026-05-10T13:34:33Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://doc.ycharbi.fr/index.php?title=Rssh&amp;diff=1052&amp;oldid=prev</id>
		<title>Ycharbi : Page créée avec « Category:shell  Rssh est un ''shell'' limité aux protocoles de transfert réseaux ''SCP'', ''SFTP'', ''CVS'', ''Rdist'', ''Rsync'' et ''SVN''. Il restreint donc l'usa... »</title>
		<link rel="alternate" type="text/html" href="https://doc.ycharbi.fr/index.php?title=Rssh&amp;diff=1052&amp;oldid=prev"/>
		<updated>2019-08-16T16:13:53Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « &lt;a href=&quot;/index.php/Cat%C3%A9gorie:Shell&quot; title=&quot;Catégorie:Shell&quot;&gt;Category:shell&lt;/a&gt;  Rssh est un &amp;#039;&amp;#039;shell&amp;#039;&amp;#039; limité aux protocoles de transfert réseaux &amp;#039;&amp;#039;SCP&amp;#039;&amp;#039;, &amp;#039;&amp;#039;SFTP&amp;#039;&amp;#039;, &amp;#039;&amp;#039;CVS&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Rdist&amp;#039;&amp;#039;, &amp;#039;&amp;#039;Rsync&amp;#039;&amp;#039; et &amp;#039;&amp;#039;SVN&amp;#039;&amp;#039;. Il restreint donc l&amp;#039;usa... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:shell]]&lt;br /&gt;
&lt;br /&gt;
Rssh est un ''shell'' limité aux protocoles de transfert réseaux ''SCP'', ''SFTP'', ''CVS'', ''Rdist'', ''Rsync'' et ''SVN''. Il restreint donc l'usage d'une session distante au seules protocoles autorisé (via un fichier de configuration) au même titre que [[Sftp-server]].&lt;br /&gt;
&lt;br /&gt;
{{info|Dans cette documentation, nous admettons l'existence d'un utilisateur nommé &amp;quot;sauvegardes&amp;quot;.}}&lt;br /&gt;
&lt;br /&gt;
'''Installation'''&lt;br /&gt;
 apt install rssh&lt;br /&gt;
&lt;br /&gt;
'''Changement du ''shell'' de connexion de l'utilisateur'''&lt;br /&gt;
 chsh -s /usr/bin/rssh sauvegardes&lt;br /&gt;
&lt;br /&gt;
'''Autorisation du nouveau ''shell'''''&lt;br /&gt;
 echo '/usr/bin/rssh' &amp;gt;&amp;gt; /etc/shells&lt;br /&gt;
&lt;br /&gt;
'''Autorisation des protocoles'''&lt;br /&gt;
 sed -i '/allowscp/s/^#//g' /etc/rssh.conf&lt;br /&gt;
 sed -i '/allowrsync/s/^#//g' /etc/rssh.conf&lt;br /&gt;
&lt;br /&gt;
Comme vous l'avez probablement compris, il suffit de [https://stackoverflow.com/questions/24889346/how-to-uncomment-a-line-that-contains-a-specific-string-using-sed dé-commenter] les protocoles souhaités pour permettre la connexion depuis une machine distante à ceux-ci. Aucun service n'a besoin d'être redémarré.&lt;br /&gt;
&lt;br /&gt;
On pourra par la suite limiter la connexion aux seules [[Openssh#Authentification_par_clef_SSH|clés SSH]] pour une meilleur sécurité.&lt;/div&gt;</summary>
		<author><name>Ycharbi</name></author>
	</entry>
</feed>