<?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: OpenSSH scp issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277653#M335071</link>
    <description>thanks Tim, that is exactly what it looks like it is doing, like it is going to system A and trying to put the file to B directly, which will not work.  Breaking it up is the work around we have as an option, but it works with Tectia being the point C, and openSSH's man page states:  "Copies between two remote hosts are also permitted." So it seems to me that there should be a way for it to work, does this fail for everyone then?&lt;BR /&gt;&lt;BR /&gt;And yes, we do currently have support for Tectia, but it isnt tectia that is broken, but rather once we switched to OpenSSH, we are dropping Tectia because of even more severe security related bugs that they have failed to fix in over a year.</description>
    <pubDate>Mon, 29 Sep 2008 12:51:50 GMT</pubDate>
    <dc:creator>Ken Penland_1</dc:creator>
    <dc:date>2008-09-29T12:51:50Z</dc:date>
    <item>
      <title>OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277649#M335067</link>
      <description>Okay, this one is confusing me, hopefully someone has an easy answer.  Our environment is HPUX 11i v1, and on most of our boxes we were running Tectia SSH.  We are switching to OpenSSH however have run into a snag.  We have some boxes in a DMZ that need to communicate with internal boxes, and to do this we have a box in the middle that handles transferring files from one box to the other.&lt;BR /&gt;&lt;BR /&gt;so for instance if box A wants to talk to box B, but there is a firewall in between, we have box C set up to do the transfer via:&lt;BR /&gt;scp A:/file B:/file&lt;BR /&gt;&lt;BR /&gt;once we switched to OpenSSH this no longer worked.  I thought it was a problem because we have mixed tectia and openssh, but it is broken everywhere...for boxes that have converted to openssh, using the -vvv option I see the error:  &lt;BR /&gt;&lt;BR /&gt;debug1: read_passphrase: can't open /dev/tty: No such device or address&lt;BR /&gt;Host key verification failed.&lt;BR /&gt;lost connection&lt;BR /&gt;&lt;BR /&gt;for boxes that are still running tectia (however our transfer box is openssh) we see:&lt;BR /&gt;&lt;BR /&gt;usage: scp1-compat-srv (-t | -f) [-qQaAprvBCL] [-S path-to-ssh] [-o ssh-options] [-P port] [-c cipher] [-i identity] f1 f2; or: scp1-compat-srv (-t | -f) [options] f1 ... fn directory&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: Transferred: stdin 0, stdout 0, stderr 0 bytes in 1.2 seconds&lt;BR /&gt;debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0&lt;BR /&gt;debug1: Exit status 1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if I try and break it up, it works just fine, for instance:&lt;BR /&gt;&lt;BR /&gt;scp A:/file file&lt;BR /&gt;scp file B:/file&lt;BR /&gt;&lt;BR /&gt;this works fine, its just when I try to go to two remote sites at once that it fails.&lt;BR /&gt;&lt;BR /&gt;Thoughts?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2008 11:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277649#M335067</guid>
      <dc:creator>Ken Penland_1</dc:creator>
      <dc:date>2008-09-29T11:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277650#M335068</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;My thoughts is you need to generate new keys and distribute them. Then this configuration should work.&lt;BR /&gt;&lt;BR /&gt;ssh-keygen -t dsa&lt;BR /&gt;&lt;BR /&gt;Permission and all that.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 29 Sep 2008 12:13:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277650#M335068</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-09-29T12:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277651#M335069</link>
      <description>if keys were the issue though, wouldnt it fail and prompt for a password when I go to the indiviudal servers?  both servers work individually without a password.</description>
      <pubDate>Mon, 29 Sep 2008 12:19:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277651#M335069</guid>
      <dc:creator>Ken Penland_1</dc:creator>
      <dc:date>2008-09-29T12:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277652#M335070</link>
      <description>Are we sure that by doing scp A:file B:file that scp is not trying to do a third party transfer, e.g. directy from A to B ?&lt;BR /&gt;&lt;BR /&gt;If so, then A needs to connect and auth to B before this will work. You mentioned FW in the way between A and B.  &lt;BR /&gt;&lt;BR /&gt;So, you may have to break it up as you mentioned.  A to C, then C to B.&lt;BR /&gt;&lt;BR /&gt;Just as a question, if you paid for Tectia then why not use your investment and call them for support ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2008 12:33:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277652#M335070</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-09-29T12:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277653#M335071</link>
      <description>thanks Tim, that is exactly what it looks like it is doing, like it is going to system A and trying to put the file to B directly, which will not work.  Breaking it up is the work around we have as an option, but it works with Tectia being the point C, and openSSH's man page states:  "Copies between two remote hosts are also permitted." So it seems to me that there should be a way for it to work, does this fail for everyone then?&lt;BR /&gt;&lt;BR /&gt;And yes, we do currently have support for Tectia, but it isnt tectia that is broken, but rather once we switched to OpenSSH, we are dropping Tectia because of even more severe security related bugs that they have failed to fix in over a year.</description>
      <pubDate>Mon, 29 Sep 2008 12:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277653#M335071</guid>
      <dc:creator>Ken Penland_1</dc:creator>
      <dc:date>2008-09-29T12:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277654#M335072</link>
      <description>"debug1: read_passphrase: can't open /dev/tty: No such device or address&lt;BR /&gt;Host key verification failed.&lt;BR /&gt;lost connection"&lt;BR /&gt;&lt;BR /&gt;ok...it seems that either openssh doesn't recognize the existing keys, or its looking in the wrong place or????&lt;BR /&gt;&lt;BR /&gt;serverC is doing scp a:something to b:something....so as noted earlier, a must be able to login to b, b to a (probably) and c to both a and b.  what happens if you ssh from a to b, or vice versa?  &lt;BR /&gt;&lt;BR /&gt;I'd suggest, as also noted previously, that you regen / redistribute keys.&lt;BR /&gt;&lt;BR /&gt;Also, did you have an key agent running anywhere supplying passphrases?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2008 14:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277654#M335072</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-09-29T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277655#M335073</link>
      <description>Can you manually scp from A to B without C in the loop ?&lt;BR /&gt;&lt;BR /&gt;Your intial post lead me to believe that you wanted an A to C then C to B soltion due to a FW between A and B.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Sep 2008 15:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277655#M335073</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-09-29T15:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277656#M335074</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think it will be the right option to generate new keys sent it to all server.&lt;BR /&gt;&lt;BR /&gt;create id_rsa.pub key with ssh-keygen &lt;BR /&gt;cat id_rsa.pub &amp;gt;authorized_keys&lt;BR /&gt;and sent the authorized_keys file serve b and c /home/user/.ssh/.&lt;BR /&gt;&lt;BR /&gt;then try &lt;BR /&gt;&lt;BR /&gt;Suraj</description>
      <pubDate>Tue, 30 Sep 2008 05:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277656#M335074</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-09-30T05:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277657#M335075</link>
      <description>Have a similar setup at work, openssh does not seem to work that way, it will login to machine A, then scp from That machine to machine B and won't act as a 'postoffice'.&lt;BR /&gt;&lt;BR /&gt;Kinda the same as ssh A ssh B, will login to machine A, then ssh to machine B.&lt;BR /&gt;&lt;BR /&gt;scp A:/tmp/david B:/tmp/david requires that B have A's key in ~/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;host key verification failed - are you using the same key after switching? Otherwise delete (uncomment) the key from the ~/.ssh/known_hosts file. Check host A for host C's key, and host B for host A's key.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2008 11:39:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277657#M335075</guid>
      <dc:creator>David de Beer</dc:creator>
      <dc:date>2008-09-30T11:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: OpenSSH scp issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277658#M335076</link>
      <description>".... setup at work, openssh does not seem to work that way, it will login to machine A, then scp from That machine to machine B and won't act as a 'postoffice'."&lt;BR /&gt;&lt;BR /&gt;exactly.  thats what is supposed to happen, and is as documented for OpenSSH.  &lt;BR /&gt;&lt;BR /&gt;As far as Tectia, perhaps it did copy from A to C and from C on to A (acting as a relay). You would have to refer to the Tectia docs or support to find out.&lt;BR /&gt;A cursory review of their site seems to indicate that Tectia has non-standard features that may have created this relay capability, depending on which products are installed / available.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Sep 2008 14:31:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-scp-issue/m-p/4277658#M335076</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-09-30T14:31:49Z</dc:date>
    </item>
  </channel>
</rss>

