<?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 Need only sftp access not ssh for specific user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319487#M340543</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to give sftp access only and not ssh for specific users. &lt;BR /&gt;&lt;BR /&gt;Could someone help how to achieve this? &lt;BR /&gt;&lt;BR /&gt;I tried giving /usr/bin/false as shell. but both ssh and sftp connections not getting established. getting connection closed message.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 Dec 2008 13:28:33 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2008-12-08T13:28:33Z</dc:date>
    <item>
      <title>Need only sftp access not ssh for specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319487#M340543</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to give sftp access only and not ssh for specific users. &lt;BR /&gt;&lt;BR /&gt;Could someone help how to achieve this? &lt;BR /&gt;&lt;BR /&gt;I tried giving /usr/bin/false as shell. but both ssh and sftp connections not getting established. getting connection closed message.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2008 13:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319487#M340543</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2008-12-08T13:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need only sftp access not ssh for specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319488#M340544</link>
      <description>Have you tried with shell - /opt/ssh/utils/sftponly ?&lt;BR /&gt;&lt;BR /&gt;Check also script ssh_chroot_setup.sh&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Dec 2008 13:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319488#M340544</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-12-08T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need only sftp access not ssh for specific user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319489#M340545</link>
      <description>creating a dummy shell that allows the user to do nothing. &lt;BR /&gt;I.e., compile this: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        #include &lt;STDIO.H&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        int main () &lt;BR /&gt;        { &lt;BR /&gt;            fprintf (stderr, "Sorry, sftp-only account. Bye.\n"); &lt;BR /&gt;            exit (0); &lt;BR /&gt;        } &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Give the executable a name like /usr/local/bin/sftp-only-shell &lt;BR /&gt;and then put that as the shell for each user who needs to be &lt;BR /&gt;sftp-only. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I believe you will also want to add that pathname to /etc/shells, &lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Johnson&lt;/STDIO.H&gt;</description>
      <pubDate>Mon, 08 Dec 2008 14:31:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-only-sftp-access-not-ssh-for-specific-user/m-p/4319489#M340545</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-12-08T14:31:08Z</dc:date>
    </item>
  </channel>
</rss>

