<?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 and Secure FTP (SFTP) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433988#M356178</link>
    <description>&amp;gt;&amp;gt;Other PC needs to access to the HP-UX server using ssh, but no need of Secure FTP (must be disabled).&lt;BR /&gt;&lt;BR /&gt;This is a bird of a different color......&lt;BR /&gt;&lt;BR /&gt;I do not know if there is a way to allow incoming ssh and sftp from one PC, but allow ssh only from another PC.&lt;BR /&gt;&lt;BR /&gt;For the 2nd PC, you could just rename the sftp executable.</description>
    <pubDate>Fri, 05 Jun 2009 17:34:51 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2009-06-05T17:34:51Z</dc:date>
    <item>
      <title>SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433982#M356172</link>
      <description>It looks like that ssh and sftp are bonded. But I need some hosts to use the ssh only, and some hosts use ssh and sftp.&lt;BR /&gt;&lt;BR /&gt;Is there a way to implement that? How?</description>
      <pubDate>Fri, 05 Jun 2009 15:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433982#M356172</guid>
      <dc:creator>CharliePuyol</dc:creator>
      <dc:date>2009-06-05T15:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433983#M356173</link>
      <description>I'm not sure I understand what you are looking for.&lt;BR /&gt;&lt;BR /&gt;Yes, SSH and SFTP utilize the same network port and both are part of the SSH package.&lt;BR /&gt;&lt;BR /&gt;I don't quite understand what you mean when you say "...I need some hosts to use the ssh only, and some hosts use ssh and sftp."&lt;BR /&gt;&lt;BR /&gt;Are you saying you want some hosts to only allow ssh connections into them and NOT sftp, and other hosts allow both ssh and sftp connection?&lt;BR /&gt;&lt;BR /&gt;If that is the case you might be able to do something with the "subsystem" configuration option of the sshd_config file.  See 'man sshd_config' for more information.</description>
      <pubDate>Fri, 05 Jun 2009 15:52:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433983#M356173</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-06-05T15:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433984#M356174</link>
      <description>Yes, from one host ssh and sftp. And on the other host is just ssh.</description>
      <pubDate>Fri, 05 Jun 2009 15:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433984#M356174</guid>
      <dc:creator>CharliePuyol</dc:creator>
      <dc:date>2009-06-05T15:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433985#M356175</link>
      <description>I just did a quick test on one of my Linux servers and modifying the 'subsystem' section of sshd_config can prevent sftp logins.&lt;BR /&gt;&lt;BR /&gt;Here's what I did:&lt;BR /&gt;&lt;BR /&gt;Found the sshd_config file (You will have to look for yours)&lt;BR /&gt;&lt;BR /&gt;Edit the sshd_ocnfig file in vi&lt;BR /&gt;&lt;BR /&gt;Look for the "subsystem" section.  The file should contain a section similar to this:&lt;BR /&gt;&lt;BR /&gt;# override default of no subsystems&lt;BR /&gt;Subsystem      sftp    /usr/lib64/ssh/sftp-server&lt;BR /&gt;&lt;BR /&gt;This tells sshd to start the sftp-server program when it received sftp requests.  Comment out the 'subsystem' line so it looks like:&lt;BR /&gt;&lt;BR /&gt;# override default of no subsystems&lt;BR /&gt;#Subsystem      sftp    /usr/lib64/ssh/sftp-server&lt;BR /&gt;&lt;BR /&gt;Then save the file and stop and restart the SSH daemon.&lt;BR /&gt;&lt;BR /&gt;Now when you SFTP you should get something like:&lt;BR /&gt;&lt;BR /&gt;$ sftp hqtas14t&lt;BR /&gt;Connecting to hqtas14t...&lt;BR /&gt;Request for subsystem 'sftp' failed on channel 0&lt;BR /&gt;Couldn't read packet: Connection reset by peer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On the servers that need sftp to work, don't change the sshd_config file and it should stay working.</description>
      <pubDate>Fri, 05 Jun 2009 15:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433985#M356175</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-06-05T15:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433986#M356176</link>
      <description>Are you talking about OUTGOING or INCOMING connections.&lt;BR /&gt;&lt;BR /&gt;Above you said "from one host" and "on the other host."&lt;BR /&gt;&lt;BR /&gt;So do you mean you don't want people to EXECUTE SFTP on "the other host?"&lt;BR /&gt;&lt;BR /&gt;If that is the case, you could remove execute permissions from SFTP, or write a wrapper script that disallows SFTP.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Jun 2009 16:01:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433986#M356176</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-06-05T16:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433987#M356177</link>
      <description>Incoming, the escenario is the following:&lt;BR /&gt;&lt;BR /&gt;One HP-UX 11.11 server got Secure Shell Installed. &lt;BR /&gt;&lt;BR /&gt;One PC needs to access to the HP-UX server using ssh and transfer files by Secure FTP&lt;BR /&gt;&lt;BR /&gt;Other PC needs to access to the HP-UX server using ssh, but no need of Secure FTP (must be disabled).</description>
      <pubDate>Fri, 05 Jun 2009 16:10:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433987#M356177</guid>
      <dc:creator>CharliePuyol</dc:creator>
      <dc:date>2009-06-05T16:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSH and Secure FTP (SFTP)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433988#M356178</link>
      <description>&amp;gt;&amp;gt;Other PC needs to access to the HP-UX server using ssh, but no need of Secure FTP (must be disabled).&lt;BR /&gt;&lt;BR /&gt;This is a bird of a different color......&lt;BR /&gt;&lt;BR /&gt;I do not know if there is a way to allow incoming ssh and sftp from one PC, but allow ssh only from another PC.&lt;BR /&gt;&lt;BR /&gt;For the 2nd PC, you could just rename the sftp executable.</description>
      <pubDate>Fri, 05 Jun 2009 17:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-and-secure-ftp-sftp/m-p/4433988#M356178</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-06-05T17:34:51Z</dc:date>
    </item>
  </channel>
</rss>

