<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610716#M557445</link>
    <description>You should also verify that the sftp subsystem is defined in your sshd_config file.&lt;BR /&gt;&lt;BR /&gt;There should be a line like this:&lt;BR /&gt;&lt;BR /&gt;Subsystem      sftp        /opt/ssh/libexec/sftp-server</description>
    <pubDate>Wed, 24 Aug 2005 09:48:45 GMT</pubDate>
    <dc:creator>Pat Lieberg</dc:creator>
    <dc:date>2005-08-24T09:48:45Z</dc:date>
    <item>
      <title>ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610713#M557442</link>
      <description>After follwing the steps given by &lt;BR /&gt;&lt;BR /&gt; Noel Miranda   &lt;BR /&gt;Mar 30, 2005 06:55:23 GMT    unassigned  &lt;BR /&gt;sftp from sysa to sysb using user1&lt;BR /&gt;--------------------------------------------&lt;BR /&gt;a. Login to sysa as user1.&lt;BR /&gt;&lt;BR /&gt;b. ssh-keygen -t rsa&lt;BR /&gt;&lt;BR /&gt;c. Two files are generated.&lt;BR /&gt;1. id_rsa&lt;BR /&gt;2. id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;d. Transfer the file id_rsa.pub to sysb:/tmp&lt;BR /&gt;&lt;BR /&gt;e. cat /tmp/id_rsa.pub &amp;gt;&amp;gt; &lt;USER1_HOME_DIRECTORY&gt;/.ssh/authorized_keys&lt;BR /&gt;Create the .ssh directory and touch the file authorized_keys on sysb if necessary. Change permissions as on sysa.&lt;BR /&gt;&lt;BR /&gt;g. Test connection by doing an sftp from sysa to sysb. The first time you may be prompted to retain the signature of the remote system. Just comfirm with an yes. It should take you to the sftp prompt.&lt;BR /&gt;&lt;BR /&gt;f. If you need to communicate the other way i.e. sysb to sysa, then you need to do the same as above after swapping systems.&lt;BR /&gt;&lt;BR /&gt;I get the following error &lt;BR /&gt;&lt;BR /&gt;bash-3.00$ sftp rahul@avalon&lt;BR /&gt;Connecting to avalon...&lt;BR /&gt;rahul@avalon's password:&lt;BR /&gt;Request for subsystem 'sftp' failed on channel 0&lt;BR /&gt;Connection closed&lt;BR /&gt;bash-3.00$&lt;BR /&gt;&lt;BR /&gt;I have gone chmod 700 on the sysb machine&lt;/USER1_HOME_DIRECTORY&gt;</description>
      <pubDate>Wed, 24 Aug 2005 09:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610713#M557442</guid>
      <dc:creator>Rahul.J.A</dc:creator>
      <dc:date>2005-08-24T09:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610714#M557443</link>
      <description>You are creating trusted keys. If I am not mistaken you will have to to put the *pub file under the user homedirectory/.ssh2 &lt;BR /&gt;or the user will not be trusted. &lt;BR /&gt;The error you are receiving, I am not sure what it means.  &lt;BR /&gt;&lt;BR /&gt;hope it helps</description>
      <pubDate>Wed, 24 Aug 2005 09:30:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610714#M557443</guid>
      <dc:creator>Juan M Leon</dc:creator>
      <dc:date>2005-08-24T09:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610715#M557444</link>
      <description>Does a regular ssh to the system work?&lt;BR /&gt;&lt;BR /&gt;Perhaps the sshd daemon is not running?</description>
      <pubDate>Wed, 24 Aug 2005 09:38:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610715#M557444</guid>
      <dc:creator>Pat Lieberg</dc:creator>
      <dc:date>2005-08-24T09:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610716#M557445</link>
      <description>You should also verify that the sftp subsystem is defined in your sshd_config file.&lt;BR /&gt;&lt;BR /&gt;There should be a line like this:&lt;BR /&gt;&lt;BR /&gt;Subsystem      sftp        /opt/ssh/libexec/sftp-server</description>
      <pubDate>Wed, 24 Aug 2005 09:48:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610716#M557445</guid>
      <dc:creator>Pat Lieberg</dc:creator>
      <dc:date>2005-08-24T09:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610717#M557446</link>
      <description>Check what errors you may have on sysb (the destination), this can give you clues.&lt;BR /&gt;&lt;BR /&gt;Make sure that PubkeyAuthentication is set to yes in /opt/ssh/etc/sshd_config&lt;BR /&gt;&lt;BR /&gt;Make sure the permissions on both the .ssh AND user home directory are correct.  sshd is fussy about the parent directory to .ssh as well as .ssh directory.&lt;BR /&gt;&lt;BR /&gt;Try the same with ssh instead of sftp, see if you get any more meaningful errors.  Check again syslog for these messages.  They're usually pretty clear.</description>
      <pubDate>Wed, 24 Aug 2005 09:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610717#M557446</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2005-08-24T09:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: ssh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610718#M557447</link>
      <description>There was a mismach of  HP-UX Secure Shell&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I could solve the issue by installing &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=T1471AA" target="_blank"&gt;https://h20293.www2.hp.com/portal/swdepot/try.do?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;by doing this i could do a sftp . Thanks for the help&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Aug 2005 06:19:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh/m-p/3610718#M557447</guid>
      <dc:creator>Rahul.J.A</dc:creator>
      <dc:date>2005-08-25T06:19:17Z</dc:date>
    </item>
  </channel>
</rss>

