<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: How to: Configure User Account to Use a Restricted Shell ( rssh )</title> <atom:link href="http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: John</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-176238</link> <dc:creator>John</dc:creator> <pubDate>Thu, 01 Dec 2011 01:47:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-176238</guid> <description>Thanks, I was getting the connection closed error and adding the user to rsshusers worked!
/usr/sbin/usermod -a -G rsshusers username</description> <content:encoded><![CDATA[<p>Thanks, I was getting the connection closed error and adding the user to rsshusers worked!</p><p>/usr/sbin/usermod -a -G rsshusers username</p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-174757</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Tue, 11 Oct 2011 14:45:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-174757</guid> <description>It means, shell access is not allowed. You can only upload or download files using sftp/scp client.</description> <content:encoded><![CDATA[<p>It means, shell access is not allowed. You can only upload or download files using sftp/scp client.</p> ]]></content:encoded> </item> <item><title>By: Shells</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-174745</link> <dc:creator>Shells</dc:creator> <pubDate>Mon, 10 Oct 2011 20:50:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-174745</guid> <description>Actually, to clarify: Over ssh, I get an &quot;account restricted by ssh&quot; message, allowed commands: scp sftp. And then a connection closed.</description> <content:encoded><![CDATA[<p>Actually, to clarify: Over ssh, I get an &#8220;account restricted by ssh&#8221; message, allowed commands: scp sftp. And then a connection closed.</p> ]]></content:encoded> </item> <item><title>By: Shells</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-174744</link> <dc:creator>Shells</dc:creator> <pubDate>Mon, 10 Oct 2011 20:48:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-174744</guid> <description>If I try to connect over ssh, I get an immediate Connection Closed. On Filezilla, I get exitcode 1. Any ideas?</description> <content:encoded><![CDATA[<p>If I try to connect over ssh, I get an immediate Connection Closed. On Filezilla, I get exitcode 1. Any ideas?</p> ]]></content:encoded> </item> <item><title>By: Apu</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-171206</link> <dc:creator>Apu</dc:creator> <pubDate>Sat, 07 May 2011 14:28:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-171206</guid> <description>rssh package is available at http://packages.sw.be/rssh/</description> <content:encoded><![CDATA[<p>rssh package is available at <a
href="http://packages.sw.be/rssh/" rel="nofollow">http://packages.sw.be/rssh/</a></p> ]]></content:encoded> </item> <item><title>By: Apu</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-171205</link> <dc:creator>Apu</dc:creator> <pubDate>Sat, 07 May 2011 14:25:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-171205</guid> <description>where do i can get the rssh package and what i have to do at /usr/bin/rssh file</description> <content:encoded><![CDATA[<p>where do i can get the rssh package and what i have to do at /usr/bin/rssh file</p> ]]></content:encoded> </item> <item><title>By: Esteban du Plantier</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-168340</link> <dc:creator>Esteban du Plantier</dc:creator> <pubDate>Mon, 17 Jan 2011 19:34:57 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-168340</guid> <description>Nope, you need to add the user account to the rsshusers group :-)
Steve.
ls -la /usr/bin/rssh
-rwxr-x--- 1 root rsshusers 22276 Nov  4 16:27 /usr/bin/rssh</description> <content:encoded><![CDATA[<p>Nope, you need to add the user account to the rsshusers group :-)<br
/> Steve.<br
/> ls -la /usr/bin/rssh<br
/> -rwxr-x&#8212; 1 root rsshusers 22276 Nov  4 16:27 /usr/bin/rssh</p> ]]></content:encoded> </item> <item><title>By: agrd_sn</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-161406</link> <dc:creator>agrd_sn</dc:creator> <pubDate>Fri, 19 Nov 2010 07:56:22 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-161406</guid> <description>i&#039;ve found it.
i add permission (x) for others to execute /usr/bin/rssh</description> <content:encoded><![CDATA[<p>i&#8217;ve found it.<br
/> i add permission (x) for others to execute /usr/bin/rssh</p> ]]></content:encoded> </item> <item><title>By: agrd_sn</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-161405</link> <dc:creator>agrd_sn</dc:creator> <pubDate>Fri, 19 Nov 2010 07:50:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-161405</guid> <description>i use filezilla and got this error:
Error:	Connection closed by server with exitcode 128
Error:	Could not connect to server
how to resolv this problem?
thx b4.
cheers,
agrd_sn</description> <content:encoded><![CDATA[<p>i use filezilla and got this error:<br
/> Error:	Connection closed by server with exitcode 128<br
/> Error:	Could not connect to server<br
/> how to resolv this problem?<br
/> thx b4.</p><p>cheers,<br
/> agrd_sn</p> ]]></content:encoded> </item> <item><title>By: stan</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-144258</link> <dc:creator>stan</dc:creator> <pubDate>Thu, 03 Jul 2008 16:14:19 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-144258</guid> <description>Nice tutorial!
I was just happy that I found what I needed, but it seems there&#039;s somethig that I&#039;m missing.
I need user friendly interface to upload/dowload files (for my friends) and rsync (for me :) ). So I uncommented &quot;allowscp&quot;, &quot;allowsftp&quot; and &quot;allowrsync&quot;. I tested ssh, scp and sftp in console and everythig worked as expected, but when I tried to connect with gFTP (I&#039;m using Ubuntu Hardy) and selected SSH2 connection, I was available to browse the direcroties below my user&#039;s home dir. In that case rssh is not really &quot;restricted&quot;. Is this some bug?
gFTP connects to the remote host with &quot;ssh -e none -l myusername 192.168.0.110 -s sftp&quot;. When I type it in the console and enter the password, the cursor blinks on the next row until I press Ctrl+C. In the auth.log says:
Connection from 192.168.0.130 port 36633
Failed none for myusername from 192.168.0.130 port 36633 ssh2
Accepted password for myusername from 192.168.0.130 port 36633 ssh2
pam_unix(sshd:session): session opened for user myusername by (uid=0)
subsystem request for sftp
I&#039;ll make a post in ubuntuforums.org, but tought it will be usefull for others if we find what&#039;s the reason for this behaviour.
I would preffer using rssh whithout chroot, so please help me solve this issue.</description> <content:encoded><![CDATA[<p>Nice tutorial!</p><p>I was just happy that I found what I needed, but it seems there&#8217;s somethig that I&#8217;m missing.</p><p>I need user friendly interface to upload/dowload files (for my friends) and rsync (for me :) ). So I uncommented &#8220;allowscp&#8221;, &#8220;allowsftp&#8221; and &#8220;allowrsync&#8221;. I tested ssh, scp and sftp in console and everythig worked as expected, but when I tried to connect with gFTP (I&#8217;m using Ubuntu Hardy) and selected SSH2 connection, I was available to browse the direcroties below my user&#8217;s home dir. In that case rssh is not really &#8220;restricted&#8221;. Is this some bug?</p><p>gFTP connects to the remote host with &#8220;ssh -e none -l myusername 192.168.0.110 -s sftp&#8221;. When I type it in the console and enter the password, the cursor blinks on the next row until I press Ctrl+C. In the auth.log says:<br
/> Connection from 192.168.0.130 port 36633<br
/> Failed none for myusername from 192.168.0.130 port 36633 ssh2<br
/> Accepted password for myusername from 192.168.0.130 port 36633 ssh2<br
/> pam_unix(sshd:session): session opened for user myusername by (uid=0)<br
/> subsystem request for sftp</p><p>I&#8217;ll make a post in ubuntuforums.org, but tought it will be usefull for others if we find what&#8217;s the reason for this behaviour.</p><p>I would preffer using rssh whithout chroot, so please help me solve this issue.</p> ]]></content:encoded> </item> <item><title>By: Shubhendu</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-144157</link> <dc:creator>Shubhendu</dc:creator> <pubDate>Wed, 25 Jun 2008 07:47:49 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-144157</guid> <description>I want to transfer file to other machine using
scp or sftp. How can I use the scp or sftp in my
shell script so that the system takes the password for sftp automatically.</description> <content:encoded><![CDATA[<p>I want to transfer file to other machine using<br
/> scp or sftp. How can I use the scp or sftp in my<br
/> shell script so that the system takes the password for sftp automatically.</p> ]]></content:encoded> </item> <item><title>By: Pinoy Compuworld</title><link>http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-143567</link> <dc:creator>Pinoy Compuworld</dc:creator> <pubDate>Thu, 24 Apr 2008 05:58:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-unix-restrict-shell-access-with-rssh.html#comment-143567</guid> <description>This article is a life saver. I am a freeBSD sysad but was forced to use centos! thanks man! im subscribing to your RSS Feeds!</description> <content:encoded><![CDATA[<p>This article is a life saver. I am a freeBSD sysad but was forced to use centos! thanks man! im subscribing to your RSS Feeds!</p> ]]></content:encoded> </item> </channel> </rss>
