<?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: Help with an scp command line appreciated in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880944#M3326</link>
    <description>How about we start with the #! line at the start of 'copyprod' ? (the first half-dozen or so lines would be nice so we can rule out a shell running there)&lt;BR /&gt;&lt;BR /&gt;You're launching a sub-shell, and the script doesn't appear to be run correctly.&lt;BR /&gt;&lt;BR /&gt;Apart from that, the 'scp' command shouldn't have two /'s after the :.  Could cause some minor issues.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 14 Jan 2003 00:11:36 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2003-01-14T00:11:36Z</dc:date>
    <item>
      <title>Help with an scp command line appreciated</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880943#M3325</link>
      <description>/bin/sh&lt;BR /&gt;&lt;BR /&gt;cd /home/xfer&lt;BR /&gt;scp 192.168.0.40://backups/*.gz .&lt;BR /&gt;&lt;BR /&gt;Pretty simple right.  I have to type exit at the command line to get the transfer to start.&lt;BR /&gt;&lt;BR /&gt;This is Red Hat Linux 7.3 on both ends and the same command line works without issue in HP-UX.&lt;BR /&gt;&lt;BR /&gt;Generous points awarded for the command line that makes this work without user interventions.&lt;BR /&gt;&lt;BR /&gt;The prompt I get requiring an exit command looks like this:&lt;BR /&gt;&lt;BR /&gt;[root@telaviv bin]# ./copyprod&lt;BR /&gt;sh-2.05a#&lt;BR /&gt;&lt;BR /&gt;How strange is this?&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 00:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880943#M3325</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T00:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with an scp command line appreciated</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880944#M3326</link>
      <description>How about we start with the #! line at the start of 'copyprod' ? (the first half-dozen or so lines would be nice so we can rule out a shell running there)&lt;BR /&gt;&lt;BR /&gt;You're launching a sub-shell, and the script doesn't appear to be run correctly.&lt;BR /&gt;&lt;BR /&gt;Apart from that, the 'scp' command shouldn't have two /'s after the :.  Could cause some minor issues.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 00:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880944#M3326</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-01-14T00:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with an scp command line appreciated</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880945#M3327</link>
      <description>I don't have access to the script right now, but I that was a copy/paste error writing the post.&lt;BR /&gt;&lt;BR /&gt;I will check it and get back to you.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 13:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880945#M3327</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T13:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with an scp command line appreciated</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880946#M3328</link>
      <description>It was not a copy/paste error, it was the problem.&lt;BR /&gt;&lt;BR /&gt;Lesson for the youngins in sysadmin.  Sometimes it takes another pair of eyes to spot the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 13:35:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880946#M3328</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T13:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with an scp command line appreciated</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880947#M3329</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;but the error you described *can* be caused by this ... So maybe it wasn't a c&amp;amp;p error :-)</description>
      <pubDate>Tue, 14 Jan 2003 13:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880947#M3329</guid>
      <dc:creator>Jochen Heuer</dc:creator>
      <dc:date>2003-01-14T13:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with an scp command line appreciated</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880948#M3330</link>
      <description>A grain of truth fore sure.&lt;BR /&gt;&lt;BR /&gt;If I was using a gui or netterm to create the script its possible I didn't select the pound sign when cutting and pasting.&lt;BR /&gt;&lt;BR /&gt;netterm can'd keep its colors straight when connected to a RH box so I rarely use it.&lt;BR /&gt;&lt;BR /&gt;To maintain correct permissions, I generally copy a working script and then make changes.  This means I got careless with the x key in vi.&lt;BR /&gt;&lt;BR /&gt;DOH!&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 14 Jan 2003 13:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-with-an-scp-command-line-appreciated/m-p/2880948#M3330</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-01-14T13:49:39Z</dc:date>
    </item>
  </channel>
</rss>

