<?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>topic Sftp with the chroot option in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638022#M40927</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to implement sftp with chroot on RHES 5.4 64 bit machine( 2.6.18-194.el5)  . &lt;BR /&gt;I have a working procedure  on RH4.6 32 bit (2.6.9-67.0.20.ELsmp), jailkit-2.1-1.el4.rf.i386.rpm, which has been built by S. Protter some years ago &lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1274884868657+28353475&amp;amp;threadId=1119613" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1274884868657+28353475&amp;amp;threadId=1119613&lt;/A&gt;  . &lt;BR /&gt;The procedure has been copied to RH5 machine with jailkit-2.5-1.el5.rf.x86_64.rpm,  but it does not work: when one tries to do "sftp username@localhost" , the answer is "Connection closed" and not anticipated sftp prompt. &lt;BR /&gt;An attempt to use another approach, with restricted ssh: &lt;A href="http://articles.techrepublic.com.com/5100-10878_11-6181828.html?tag=nl.e011" target="_blank"&gt;http://articles.techrepublic.com.com/5100-10878_11-6181828.html?tag=nl.e011&lt;/A&gt; , gave the same result. But implementation of the same rssh procedure on RH4 machine works excellent.&lt;BR /&gt;Conclusion: Both jailkit and rssh don't work on RH5 and do work on RH4.&lt;BR /&gt;&lt;BR /&gt; Did anybody try to build sftp with chroot on RH5 using jailkit or rssh ? I mean: did anybody succeed ?  &lt;BR /&gt;&lt;BR /&gt;TIA</description>
    <pubDate>Wed, 26 May 2010 14:10:50 GMT</pubDate>
    <dc:creator>Victor Fridyev</dc:creator>
    <dc:date>2010-05-26T14:10:50Z</dc:date>
    <item>
      <title>Sftp with the chroot option</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638022#M40927</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to implement sftp with chroot on RHES 5.4 64 bit machine( 2.6.18-194.el5)  . &lt;BR /&gt;I have a working procedure  on RH4.6 32 bit (2.6.9-67.0.20.ELsmp), jailkit-2.1-1.el4.rf.i386.rpm, which has been built by S. Protter some years ago &lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1274884868657+28353475&amp;amp;threadId=1119613" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1274884868657+28353475&amp;amp;threadId=1119613&lt;/A&gt;  . &lt;BR /&gt;The procedure has been copied to RH5 machine with jailkit-2.5-1.el5.rf.x86_64.rpm,  but it does not work: when one tries to do "sftp username@localhost" , the answer is "Connection closed" and not anticipated sftp prompt. &lt;BR /&gt;An attempt to use another approach, with restricted ssh: &lt;A href="http://articles.techrepublic.com.com/5100-10878_11-6181828.html?tag=nl.e011" target="_blank"&gt;http://articles.techrepublic.com.com/5100-10878_11-6181828.html?tag=nl.e011&lt;/A&gt; , gave the same result. But implementation of the same rssh procedure on RH4 machine works excellent.&lt;BR /&gt;Conclusion: Both jailkit and rssh don't work on RH5 and do work on RH4.&lt;BR /&gt;&lt;BR /&gt; Did anybody try to build sftp with chroot on RH5 using jailkit or rssh ? I mean: did anybody succeed ?  &lt;BR /&gt;&lt;BR /&gt;TIA</description>
      <pubDate>Wed, 26 May 2010 14:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638022#M40927</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2010-05-26T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sftp with the chroot option</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638023#M40928</link>
      <description>Please see my post here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1364984" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1364984&lt;/A&gt;</description>
      <pubDate>Wed, 26 May 2010 15:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638023#M40928</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2010-05-26T15:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sftp with the chroot option</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638024#M40929</link>
      <description>Shalom all,&lt;BR /&gt;&lt;BR /&gt;Ivan: It's not apparent to me which of your posts in your thread you are recommending.&lt;BR /&gt;&lt;BR /&gt;Victor,&lt;BR /&gt;&lt;BR /&gt;1)Any message in /var/log/messages corresponding with the "Connection Closed" statement.&lt;BR /&gt;&lt;BR /&gt;2)The choot add user script we wrote for the gate servers should be walked through and check that every directory and file in the user configuration has correct ownership and permissions. As I recall jailkit is very sensitive to the most minute discrepancy there.&lt;BR /&gt;&lt;BR /&gt;3) Maybe a slightly earlier version of jailkit. There were several choices available when I did this and it may have taken more than one version to work.&lt;BR /&gt;&lt;BR /&gt;Hope you are well.&lt;BR /&gt;&lt;BR /&gt;Enjoying the allergy season here in Maumee Ohio.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2010 20:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638024#M40929</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-05-26T20:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sftp with the chroot option</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638025#M40930</link>
      <description>Thanks guys,&lt;BR /&gt;&lt;BR /&gt;I don't want ( on this stage ) to install new Open SSH and this, as far as I understand is the main condition for chroot/sftp to work.&lt;BR /&gt;Investigations go on.</description>
      <pubDate>Fri, 28 May 2010 15:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-with-the-chroot-option/m-p/4638025#M40930</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2010-05-28T15:45:09Z</dc:date>
    </item>
  </channel>
</rss>

