<?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 with chroot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483822#M741735</link>
    <description>There could be a problem with the ssh_chroot_setup.sh script in HP-UX Secure Shell A.03.81.002.&lt;BR /&gt;&lt;BR /&gt;I was receiving the similar results that you were seeing.  I then removed the version A.03.81.002 and installed A.03.91.002.  I compared the directories created under the user's jailed directory and found that under /newroot/usr/lib/ there were some missing libraries and the gss directory.&lt;BR /&gt;&lt;BR /&gt;To correct the problem for version A.03.81.002, I performed the following steps:&lt;BR /&gt;cp -rp /usr/lib/gss /newroot/usr/lib/&lt;BR /&gt;cp -p /usr/lib/libpthread.1 /newroot/usr/lib&lt;BR /&gt;cp -p /usr/lib/libxcurses.1 /newroot/usr/lib&lt;BR /&gt;&lt;BR /&gt;After copying these libraries and the directory, I had a jailed sftp user account.</description>
    <pubDate>Tue, 12 Apr 2005 10:30:08 GMT</pubDate>
    <dc:creator>Rob Prewitt</dc:creator>
    <dc:date>2005-04-12T10:30:08Z</dc:date>
    <item>
      <title>sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483816#M741729</link>
      <description>i tried use sftp on 11.00 and this the reponse from host&lt;BR /&gt;Connection closed&lt;BR /&gt;&lt;BR /&gt;in fact, this is my command&lt;BR /&gt;host1[/]sftp alan@IP&lt;BR /&gt;Connecting to IP...&lt;BR /&gt;Password: &lt;BR /&gt;Connection closed&lt;BR /&gt;could you help me?&lt;BR /&gt;ps:&lt;BR /&gt;i used script to configure chrooted user (supplied from HP Secure ssh):&lt;BR /&gt; ssh_chroot_setup.sh</description>
      <pubDate>Fri, 11 Feb 2005 10:30:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483816#M741729</guid>
      <dc:creator>SUSSERE_1</dc:creator>
      <dc:date>2005-02-11T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483817#M741730</link>
      <description>Sussere,&lt;BR /&gt;&lt;BR /&gt;First,  does ssh work from the host you are running sftp from? Try;&lt;BR /&gt;&lt;BR /&gt;[alan]$  ssh  IP ls&lt;BR /&gt;&lt;BR /&gt;Password will depend on how you have ssh set up. If that doesn't work you can try;&lt;BR /&gt;&lt;BR /&gt;[alan]$ ssh -vvv IP ls&lt;BR /&gt;&lt;BR /&gt;This should provide more details.&lt;BR /&gt;&lt;BR /&gt;If ssh is working fine then just ignore my reply.&lt;BR /&gt;&lt;BR /&gt;David</description>
      <pubDate>Fri, 11 Feb 2005 10:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483817#M741730</guid>
      <dc:creator>David Child_1</dc:creator>
      <dc:date>2005-02-11T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483818#M741731</link>
      <description>On the target server:&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep sshd&lt;BR /&gt;&lt;BR /&gt;Make sure the sshd daemon is actually running.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 11 Feb 2005 10:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483818#M741731</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-02-11T10:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483819#M741732</link>
      <description>Please check that the rules in the file /etc/hosts.allow on the server host allow connection to the SSH daemon from your workstation.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Fri, 11 Feb 2005 11:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483819#M741732</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2005-02-11T11:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483820#M741733</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am no problem whith ssh, tcp_wrapper is not installed, /var/adm/inetd.sec doesn't exist, there are details of connection:&lt;BR /&gt;# sftp -v alan@IP&lt;BR /&gt;Connecting to localhost...&lt;BR /&gt;OpenSSH_3.8, OpenSSL 0.9.7d 17 Mar 2004&lt;BR /&gt;HP-UX_Secure_Shell-A.03.81.002, HP_UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to IP&lt;BR /&gt;port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /.ssh/id_rsa type -1&lt;BR /&gt;debug1: identity file /.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8&lt;BR /&gt;debug1: match: OpenSSH_3.8 pat OpenSSH*&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_3.8&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'localhost' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /.ssh/known_hosts:2&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Trying private key: /.ssh/id_rsa&lt;BR /&gt;debug1: Trying private key: /.ssh/id_dsa&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: password&lt;BR /&gt;alan@localhost's password: &lt;BR /&gt;debug1: Authentication succeeded (password).&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;debug1: Sending subsystem: sftp&lt;BR /&gt;debug1: client_input_channel_req: channel 0 rtype exit-status reply 0&lt;BR /&gt;debug1: channel 0: free: client-session, nchannels 1&lt;BR /&gt;debug1: fd 0 clearing O_NONBLOCK&lt;BR /&gt;debug1: fd 1 clearing O_NONBLOCK&lt;BR /&gt;debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.2 seconds&lt;BR /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0&lt;BR /&gt;debug1: Exit status 134&lt;BR /&gt;Connection closed&lt;BR /&gt;&lt;BR /&gt;I don't understand, may be there are some incorrect parameters in /opt/ssh/etc/???&lt;BR /&gt;&lt;BR /&gt;help.</description>
      <pubDate>Mon, 14 Feb 2005 04:30:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483820#M741733</guid>
      <dc:creator>SUSSERE_1</dc:creator>
      <dc:date>2005-02-14T04:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483821#M741734</link>
      <description>i uploaded the last version &lt;BR /&gt; T1471AA               A.03.91.002    HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;and now it works very fine!</description>
      <pubDate>Fri, 18 Feb 2005 04:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483821#M741734</guid>
      <dc:creator>SUSSERE_1</dc:creator>
      <dc:date>2005-02-18T04:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483822#M741735</link>
      <description>There could be a problem with the ssh_chroot_setup.sh script in HP-UX Secure Shell A.03.81.002.&lt;BR /&gt;&lt;BR /&gt;I was receiving the similar results that you were seeing.  I then removed the version A.03.81.002 and installed A.03.91.002.  I compared the directories created under the user's jailed directory and found that under /newroot/usr/lib/ there were some missing libraries and the gss directory.&lt;BR /&gt;&lt;BR /&gt;To correct the problem for version A.03.81.002, I performed the following steps:&lt;BR /&gt;cp -rp /usr/lib/gss /newroot/usr/lib/&lt;BR /&gt;cp -p /usr/lib/libpthread.1 /newroot/usr/lib&lt;BR /&gt;cp -p /usr/lib/libxcurses.1 /newroot/usr/lib&lt;BR /&gt;&lt;BR /&gt;After copying these libraries and the directory, I had a jailed sftp user account.</description>
      <pubDate>Tue, 12 Apr 2005 10:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483822#M741735</guid>
      <dc:creator>Rob Prewitt</dc:creator>
      <dc:date>2005-04-12T10:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: sftp with chroot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483823#M741736</link>
      <description>I am using HP-UX Secure_Shell          A.03.81.004 and I have run the ssh_chroot_setup.sh but I still can't jail the user "MEG",  Please see below :&lt;BR /&gt;&lt;BR /&gt;sftp MEG@0&lt;BR /&gt;Connecting to 0...&lt;BR /&gt;Password: &lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.   ..  &lt;BR /&gt;sftp&amp;gt; cd ..&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.    ..   MEG  &lt;BR /&gt;sftp&amp;gt; cd ..&lt;BR /&gt;sftp&amp;gt; ls&lt;BR /&gt;.     ..    bin   dev   etc   home  opt   sbin  usr   var   &lt;BR /&gt;&lt;BR /&gt;I even tried to copy the lib files : gss, libpthread.1 and libxcurses.1 as told, but still I can netvigate anywhere I wanted to.   Does any one know why ?</description>
      <pubDate>Fri, 29 Jul 2005 21:42:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-with-chroot/m-p/3483823#M741736</guid>
      <dc:creator>ITSD-ACCS</dc:creator>
      <dc:date>2005-07-29T21:42:54Z</dc:date>
    </item>
  </channel>
</rss>

