<?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 Re: sftp chroot - Red Hat 5.3 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194255#M51152</link>
    <description>And also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/" target="_blank"&gt;http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/&lt;/A&gt;</description>
    <pubDate>Wed, 19 Aug 2009 20:25:14 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2009-08-19T20:25:14Z</dc:date>
    <item>
      <title>sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194253#M51150</link>
      <description>I am running Red Hat 5.3 and had a request to setup a user for sftp, and I want to lock the login id to the home directory, just as I am doing for normal ftp using vsftpd...&lt;BR /&gt;&lt;BR /&gt;I added the line: ftpleaps        /home/ftpleaps&lt;BR /&gt;to the /etc/security/chroot.conf file.&lt;BR /&gt;Added the line:&lt;BR /&gt;session    required     pam_chroot.so debug&lt;BR /&gt;to the /etc/pam.d/sshd file.&lt;BR /&gt;&lt;BR /&gt;And created the user, ftpleaps that will be using sftp...&lt;BR /&gt;&lt;BR /&gt;Using this ID I can sftp into teh server just fine, but I am still able to change to different directories, I'm not locked into just the home directory...&lt;BR /&gt;&lt;BR /&gt;Any ideas as to what I may be missing ??&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Aug 2009 16:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194253#M51150</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-08-19T16:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194254#M51151</link>
      <description>Check this page:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.minstrel.org.uk/papers/sftp/builtin/" target="_blank"&gt;http://www.minstrel.org.uk/papers/sftp/builtin/&lt;/A&gt;</description>
      <pubDate>Wed, 19 Aug 2009 19:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194254#M51151</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-08-19T19:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194255#M51152</link>
      <description>And also:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/" target="_blank"&gt;http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/&lt;/A&gt;</description>
      <pubDate>Wed, 19 Aug 2009 20:25:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194255#M51152</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-08-19T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194256#M51153</link>
      <description>I tested with this installation guide:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dotnux.com/?p=3" target="_blank"&gt;http://www.dotnux.com/?p=3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And the sshd_configuration in previous links. It works correctly.</description>
      <pubDate>Wed, 19 Aug 2009 21:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194256#M51153</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-08-19T21:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194257#M51154</link>
      <description>I got down to installing the rpm's genersated and they it failed:&lt;BR /&gt;&lt;BR /&gt;[root@mfl-rhel5 i386]# ls -al&lt;BR /&gt;total 1004&lt;BR /&gt;drwxr-xr-x 2 root root   4096 Aug 20 08:39 .&lt;BR /&gt;drwxr-xr-x 9 root root   4096 Mar 17 15:20 ..&lt;BR /&gt;-rw-r--r-- 1 root root 272536 Aug 20 08:39 openssh-5.2p1-1.i386.rpm&lt;BR /&gt;-rw-r--r-- 1 root root 431979 Aug 20 08:39 openssh-clients-5.2p1-1.i386.rpm&lt;BR /&gt;-rw-r--r-- 1 root root  16708 Aug 20 08:39 openssh-debuginfo-5.2p1-1.i386.rpm&lt;BR /&gt;-rw-r--r-- 1 root root 269427 Aug 20 08:39 openssh-server-5.2p1-1.i386.rpm&lt;BR /&gt;[root@mfl-rhel5 i386]# rpm -Uvh openssh*rpm&lt;BR /&gt;error: Failed dependencies:&lt;BR /&gt;        openssh = 4.3p2-29.el5 is needed by (installed) openssh-askpass-4.3p2-29.el5.i386&lt;BR /&gt;[root@mfl-rhel5 i386]# rpm -qa |grep -i openssh&lt;BR /&gt;openssh-clients-4.3p2-29.el5&lt;BR /&gt;openssh-4.3p2-29.el5&lt;BR /&gt;openssh-askpass-4.3p2-29.el5&lt;BR /&gt;openssh-server-4.3p2-29.el5&lt;BR /&gt;[root@mfl-rhel5 i386]#</description>
      <pubDate>Thu, 20 Aug 2009 11:44:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194257#M51154</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-08-20T11:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194258#M51155</link>
      <description>Remove all openssh* packages currently installed, it cannot be upgraded because askpass is not in the packages generated.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Aug 2009 12:30:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194258#M51155</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-08-20T12:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194259#M51156</link>
      <description>That got this version installed ok...&lt;BR /&gt;&lt;BR /&gt;Is there a document for the rest of the setup for sftp chroot for this version of openssh ?</description>
      <pubDate>Thu, 20 Aug 2009 13:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194259#M51156</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-08-20T13:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194260#M51157</link>
      <description>Just follow the instructions in:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/" target="_blank"&gt;http://v2.robbyt.com/2008/howto/chrooted-sftp-with-openssh-5/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Starting with the section "edit sshd_config"&lt;BR /&gt;&lt;BR /&gt;The sections "configure pam_mkhomedir" and below are optionsl</description>
      <pubDate>Thu, 20 Aug 2009 14:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194260#M51157</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-08-20T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194261#M51158</link>
      <description>Have it all installed, but when I try to do an sftp with an ID that is in sftponly group they get disconnected:&lt;BR /&gt;&lt;BR /&gt;sftp ftpleaps@crulsbx1&lt;BR /&gt;ftpleaps@crulsbx1's password:&lt;BR /&gt;Connection to crulsbx1 closed by remote host.&lt;BR /&gt;Connection closed&lt;BR /&gt;&lt;BR /&gt;I can do an sftp with another ID not in sftponly group and works fine, except that the ID isn't locked to the directory..&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Aug 2009 17:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194261#M51158</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-08-20T17:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194262#M51159</link>
      <description>Ivan&lt;BR /&gt;&lt;BR /&gt;never mind, I had an problem, I forgot to change the home directory to be owned by root:root instead of the user.... after that able to get in just fine..</description>
      <pubDate>Thu, 20 Aug 2009 17:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194262#M51159</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-08-20T17:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: sftp chroot - Red Hat 5.3</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194263#M51160</link>
      <description>Thanks.</description>
      <pubDate>Thu, 20 Aug 2009 17:32:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sftp-chroot-red-hat-5-3/m-p/5194263#M51160</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-08-20T17:32:52Z</dc:date>
    </item>
  </channel>
</rss>

