<?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 problem at hp server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188176#M164191</link>
    <description>/usr/local/bin/scp&lt;BR /&gt;&lt;BR /&gt;That is not a standard installation location.&lt;BR /&gt;&lt;BR /&gt;This looks very much like an environment variable issue.&lt;BR /&gt;&lt;BR /&gt;Keep looking at the $PATH variable.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Tue, 10 Feb 2004 14:30:43 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2004-02-10T14:30:43Z</dc:date>
    <item>
      <title>sftp problem at hp server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188175#M164190</link>
      <description>scp problemserver:/etc/hosts /tmp&lt;BR /&gt;sh: scp:  not found.&lt;BR /&gt;ssh problemserver which scp&lt;BR /&gt;no scp in $prefix/bin $prefix/sbin /sbin /usr/sbin /usr/bin&lt;BR /&gt;problemserver:root:/# which scp&lt;BR /&gt;/usr/local/bin/scp&lt;BR /&gt;ssh problemserver echo $PATH&lt;BR /&gt;/usr/local/bin is not in the path, and the paths are different from the one seen in the error message.&lt;BR /&gt;problemserver:root:/# echo $PATH&lt;BR /&gt;/usr/local/bin is in the path, and the paths are different from the one in the error message and from the remote echo $path result.&lt;BR /&gt;Using scp at the problemserver as a client is fine.&lt;BR /&gt;&lt;BR /&gt;Jun Z&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2004 14:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188175#M164190</guid>
      <dc:creator>Jun Zhang_4</dc:creator>
      <dc:date>2004-02-10T14:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: sftp problem at hp server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188176#M164191</link>
      <description>/usr/local/bin/scp&lt;BR /&gt;&lt;BR /&gt;That is not a standard installation location.&lt;BR /&gt;&lt;BR /&gt;This looks very much like an environment variable issue.&lt;BR /&gt;&lt;BR /&gt;Keep looking at the $PATH variable.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 10 Feb 2004 14:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188176#M164191</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-10T14:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: sftp problem at hp server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188177#M164192</link>
      <description>Hi Jun Z,&lt;BR /&gt;&lt;BR /&gt;scp problemsever:/etc/hosts /tmp&lt;BR /&gt;^&lt;BR /&gt;&lt;BR /&gt;The system on which you are executing 'scp' doesn't seem to have it in it's path. I meant client not the problemserver. All problemserver does is to respond with it's sshd daemon.  Instead of doing 'ssh problemserver which scp' do&lt;BR /&gt;&lt;BR /&gt;which scp&lt;BR /&gt;&lt;BR /&gt;This will show scp on the local system. If it doesn't show, then either you have to fix the path or the local system (not the problemserver) doesn't have it installed. &lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/scp problemserver:/etc/hosts /tmp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 10 Feb 2004 14:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188177#M164192</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-10T14:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: sftp problem at hp server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188178#M164193</link>
      <description>This is openssh-3.7.1p2.&lt;BR /&gt;problemserver:&amp;gt; which scp&lt;BR /&gt;/usr/local/bin/scp&lt;BR /&gt;client:&amp;gt; ssh problemserver which scp&lt;BR /&gt;not found&lt;BR /&gt;as in my original question (root user is all that involved).&lt;BR /&gt;&lt;BR /&gt;Jun</description>
      <pubDate>Wed, 11 Feb 2004 12:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188178#M164193</guid>
      <dc:creator>Jun Zhang_4</dc:creator>
      <dc:date>2004-02-11T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: sftp problem at hp server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188179#M164194</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ssh is compiled with a default path ( a compiler option).  If you run which remotely, only that path will be used. If /usr/local/bin is not part of that path then your 'ssh problemserver which scp' will not return anything.&lt;BR /&gt;&lt;BR /&gt;Once you login to the problemserver, the session will inherit the PATH set in the system by /etc/PATH,/etc/profile and your .profile. So 'which scp' will show you the result.&lt;BR /&gt;&lt;BR /&gt;So, I run 'ssh otherserver which ssh', I get the following&lt;BR /&gt;/opt/openssh2/bin/ssh&lt;BR /&gt;&lt;BR /&gt;I have "/usr/bin /bin /usr/sbin /sbin /opt/openssh2/bin" in my sshd's default path. So, I got the response back.&lt;BR /&gt;&lt;BR /&gt;ssh otherserver which gzip&lt;BR /&gt;no gzip in /usr/bin /bin /usr/sbin /sbin /opt/openssh2/bin&lt;BR /&gt;&lt;BR /&gt;Since /usr/contrib/bin is not in sshd's default path, I got the error.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 11 Feb 2004 12:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sftp-problem-at-hp-server/m-p/3188179#M164194</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-11T12:41:02Z</dc:date>
    </item>
  </channel>
</rss>

