<?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: ssh chroot for a specific user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240255#M469622</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The reason for the failure of sftp and scp is because of the permissions of some executables which i have changed for some security and audit issue.&lt;BR /&gt;&lt;BR /&gt;Now ssh, scp &amp;amp; sftp working perfectly with chroot.&lt;BR /&gt;&lt;BR /&gt;Thanks to all especially Antim Yosifov who has given me the correct solution what i am looking for.&lt;BR /&gt;&lt;BR /&gt;Manoj K</description>
    <pubDate>Tue, 18 May 2010 17:08:33 GMT</pubDate>
    <dc:creator>ManojK_1</dc:creator>
    <dc:date>2010-05-18T17:08:33Z</dc:date>
    <item>
      <title>ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240248#M469615</link>
      <description>I sit possible to configure ssh chroot for a specific user.&lt;BR /&gt;&lt;BR /&gt;OS :- HP Unix 11.31&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 13:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240248#M469615</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2010-05-17T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240249#M469616</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Yes, you can chroot individual users with any ssh software.&lt;BR /&gt;&lt;BR /&gt;HP's script they provide with openssh/secure shell can either be run selectively or you can restore the authentication files and only leave changed the users you wish to chroot.&lt;BR /&gt;&lt;BR /&gt;Take a close look at the script that ships with openssh/secure shell.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 17 May 2010 13:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240249#M469616</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-05-17T13:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240250#M469617</link>
      <description>yes you can use chroot for specific user ,use chroot script.&lt;BR /&gt;&amp;gt;chroot is use to restrict the user to specific directory by providing binary file for few operation which is required to do by user.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2010 14:13:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240250#M469617</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-05-17T14:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240251#M469618</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am following the following link for ssh chroot configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=115&amp;amp;prodSeriesId=3215373&amp;amp;prodTypeId=18964&amp;amp;objectID=c01516983." target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&amp;amp;cc=us&amp;amp;taskId=115&amp;amp;prodSeriesId=3215373&amp;amp;prodTypeId=18964&amp;amp;objectID=c01516983.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;After the configuration chroot working fine but it is for globally (For All Users).&lt;BR /&gt;&lt;BR /&gt;I want to use ssh chroot only for a specific user.&lt;BR /&gt;&lt;BR /&gt;If i am removing the line ChrootDirectory /newroot from &lt;BR /&gt;/opt/ssh/etc/sshd_config &lt;BR /&gt;ssh working normal.&lt;BR /&gt;&lt;BR /&gt;If we enable the "ChrootDirectory /newroot"&lt;BR /&gt;then chroot is active for all the users ssh session.&lt;BR /&gt;&lt;BR /&gt;What i am missing from the configuration for enabling chroot for ssh for specific user.</description>
      <pubDate>Tue, 18 May 2010 04:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240251#M469618</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2010-05-18T04:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240252#M469619</link>
      <description>Add a Match statement to the bottom of the /opt/ssh/etc/sshd_config configuration file to make &lt;CHROOT-USER&gt; to chroot into the newroot directory when logging in.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;Match User &lt;USERNAME&gt;&lt;BR /&gt;ChrootDirectory /newroot&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE: Alternatively, if you need to do this for a large number of users, it is easier to set it with a Match group statement. The users should belong to your match group.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;Match group sshonly&lt;BR /&gt;ChrootDirectory /newroot&lt;BR /&gt;&lt;/USERNAME&gt;&lt;/CHROOT-USER&gt;</description>
      <pubDate>Tue, 18 May 2010 07:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240252#M469619</guid>
      <dc:creator>Antim Yosifov</dc:creator>
      <dc:date>2010-05-18T07:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240253#M469620</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Now chroot is working perfectly for ssh login.&lt;BR /&gt;&lt;BR /&gt;But facing problem with sftp &amp;amp; scp.&lt;BR /&gt;&lt;BR /&gt;while doing scp i am getting the following error&lt;BR /&gt;"/usr/lib/hpux32/dld.so: Unable to find library 'libcrypto.so.1'.&lt;BR /&gt;sh: 24030 Killed&lt;BR /&gt;lost connection"&lt;BR /&gt;&lt;BR /&gt;while trying for sftp i am getting the following error&lt;BR /&gt;"Connection closed"&lt;BR /&gt;&lt;BR /&gt;In both the case system is accepting the password and then throwing this type of error.&lt;BR /&gt;&lt;BR /&gt;Manoj K&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2010 11:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240253#M469620</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2010-05-18T11:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240254#M469621</link>
      <description>Hi Manojk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You need to copy that missing library from /usr/lib/lib_name to&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/newrrot/usr/lib/libname&lt;BR /&gt;&lt;BR /&gt;Check LD_LIBRARY_PATH.&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2010 13:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240254#M469621</guid>
      <dc:creator>nightwich</dc:creator>
      <dc:date>2010-05-18T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: ssh chroot for a specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240255#M469622</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The reason for the failure of sftp and scp is because of the permissions of some executables which i have changed for some security and audit issue.&lt;BR /&gt;&lt;BR /&gt;Now ssh, scp &amp;amp; sftp working perfectly with chroot.&lt;BR /&gt;&lt;BR /&gt;Thanks to all especially Antim Yosifov who has given me the correct solution what i am looking for.&lt;BR /&gt;&lt;BR /&gt;Manoj K</description>
      <pubDate>Tue, 18 May 2010 17:08:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-chroot-for-a-specific-user/m-p/5240255#M469622</guid>
      <dc:creator>ManojK_1</dc:creator>
      <dc:date>2010-05-18T17:08:33Z</dc:date>
    </item>
  </channel>
</rss>

