<?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 SSH within DCL command procedure in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782810#M52162</link>
    <description>When I try to execute this command:&lt;BR /&gt;&lt;BR /&gt;$ ssh nodename dir&lt;BR /&gt;&lt;BR /&gt;it works fine from the command line, but from a command procedure I get this error:&lt;BR /&gt;&lt;BR /&gt;dsa13:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: ssh_io_register_fd: fd 3 already registered!&lt;BR /&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
    <pubDate>Thu, 04 May 2006 12:25:49 GMT</pubDate>
    <dc:creator>Thomas A. Williams</dc:creator>
    <dc:date>2006-05-04T12:25:49Z</dc:date>
    <item>
      <title>SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782810#M52162</link>
      <description>When I try to execute this command:&lt;BR /&gt;&lt;BR /&gt;$ ssh nodename dir&lt;BR /&gt;&lt;BR /&gt;it works fine from the command line, but from a command procedure I get this error:&lt;BR /&gt;&lt;BR /&gt;dsa13:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: FATAL: ssh_io_register_fd: fd 3 already registered!&lt;BR /&gt;&lt;BR /&gt;%TCPIP-F-SSH_FATAL, non-specific fatal error condition&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Thu, 04 May 2006 12:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782810#M52162</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-04T12:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782811#M52163</link>
      <description>which version?&lt;BR /&gt;You need to be current as the variou ECO kits contains many ssh fixes.&lt;BR /&gt;&lt;BR /&gt;You may need the -n qualifier.</description>
      <pubDate>Thu, 04 May 2006 12:38:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782811#M52163</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-05-04T12:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782812#M52164</link>
      <description>We're running V5.4 ECO 5. Is this in V5.5?</description>
      <pubDate>Thu, 04 May 2006 12:48:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782812#M52164</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-04T12:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782813#M52165</link>
      <description>Ian Miller&amp;gt;&amp;gt; You may need the -n qualifier.&lt;BR /&gt;&lt;BR /&gt;Interestingly enough, when I tried this from the command line:&lt;BR /&gt;&lt;BR /&gt;ssh -n nodename dir&lt;BR /&gt;&lt;BR /&gt;I get the same exact error as I posted above, when I tried it from the command procedure.&lt;BR /&gt;&lt;BR /&gt;Obviously I don't know how to use -n properly.  Any guidance on the proper usage?  Maybe if I knew that it would fix the original problem...</description>
      <pubDate>Thu, 04 May 2006 13:03:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782813#M52165</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-04T13:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782814#M52166</link>
      <description>The secret is '-o "batchmode yes"', as in:&lt;BR /&gt;&lt;BR /&gt;alp $ type SSH_SHD.COM&lt;BR /&gt;$ ssh -o "batchmode yes" alp "show default"&lt;BR /&gt;&lt;BR /&gt;alp $ @ SSH_SHD.COM&lt;BR /&gt;Authentication successful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;  ALP$DKA0:[SMS]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course, it still hangs at the end until&lt;BR /&gt;the user hits &lt;RETURN&gt;, but who really&lt;BR /&gt;expects this stuff to work properly?&lt;BR /&gt;&lt;BR /&gt;Also, "-t" tends to be useful for proper&lt;BR /&gt;line-endings when dealing with non-VMS hosts.&lt;BR /&gt;&lt;BR /&gt;alp $ tcpip show version&lt;BR /&gt;&lt;BR /&gt;  HP TCP/IP Services for OpenVMS Alpha Version V5.4 - ECO 5&lt;BR /&gt;  on a COMPAQ Professional Workstation XP1000 running OpenVMS V7.3-2  &lt;BR /&gt;&lt;BR /&gt;alp $ ssh "-V"&lt;BR /&gt;alp$dka0:[sys0.syscommon.][sysexe]tcpip$ssh_ssh2.exe: SSH Secure Shell OpenVMS (&lt;BR /&gt;V5.5) 3.2.0 on COMPAQ Professional Workstation  - VMS V7.3-2&lt;BR /&gt;&lt;/RETURN&gt;</description>
      <pubDate>Thu, 04 May 2006 15:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782814#M52166</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-04T15:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782815#M52167</link>
      <description>That was it.  Thanks Steven.&lt;BR /&gt;&lt;BR /&gt;I like the "who really expects this stuff to work" comment - how true that is.&lt;BR /&gt;&lt;BR /&gt;It seems to me that SSH on VMS is a real hack job, lots of bu... coughcough "features"&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;Now I'm trying to figure out how to eliminate the user having to press return "feature" - I've sort of gotten it to finish by assigning sys$output to a file prior to running the ssh command, but that only seems to work about 50% of the time...  Strange.</description>
      <pubDate>Fri, 05 May 2006 06:23:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782815#M52167</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-05T06:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782816#M52168</link>
      <description>Regarding the hang, waiting for an interactive&lt;BR /&gt;&lt;RETURN&gt;, I don't think that I ever found a&lt;BR /&gt;real work-around.  Perhaps some extra action&lt;BR /&gt;on the remote side would help, but I keep&lt;BR /&gt;hoping for a real fix before I have a real&lt;BR /&gt;need.&lt;BR /&gt;&lt;BR /&gt;If you find something clever, be sure to post&lt;BR /&gt;it somewhere.&lt;/RETURN&gt;</description>
      <pubDate>Fri, 05 May 2006 14:38:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782816#M52168</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-05T14:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782817#M52169</link>
      <description>We found a workaround to the hanging/need CR problem:&lt;BR /&gt;&lt;BR /&gt;$ define/user sys$command nl:&lt;BR /&gt;$ ssh -o "batchmode yes" baltic dir&lt;BR /&gt;&lt;BR /&gt;Seems to work.</description>
      <pubDate>Mon, 08 May 2006 09:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782817#M52169</guid>
      <dc:creator>Thomas A. Williams</dc:creator>
      <dc:date>2006-05-08T09:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782818#M52170</link>
      <description>Hi, Thomas,&lt;BR /&gt;&lt;BR /&gt;from your Forum Profile:&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;I have assigned points to 0 of 33 responses to my questions.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe you can find some time to do some assigning?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.&lt;BR /&gt;&lt;BR /&gt;Consider, that every poster took at least the trouble of posting for you!&lt;BR /&gt;&lt;BR /&gt;To easily find your streams with unassigned points, click your own name somewhere.&lt;BR /&gt;This will bring up your profile.&lt;BR /&gt;Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.&lt;BR /&gt;&lt;BR /&gt;Thanks on behalf of your Forum colleagues.&lt;BR /&gt;&lt;BR /&gt;PS. nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before please do not take offence none is intended!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 May 2006 10:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782818#M52170</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2006-05-08T10:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: SSH within DCL command procedure</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782819#M52171</link>
      <description>&amp;gt; $ define/user sys$command nl:&lt;BR /&gt;&lt;BR /&gt;Works here, too.  Must be the functional&lt;BR /&gt;equivalent of what "-n" was supposed to do,&lt;BR /&gt;while an actual "-n" seems to be useless (as&lt;BR /&gt;does "$ define/user sys$input nl:").&lt;BR /&gt;&lt;BR /&gt;Well, that was educational.  I'll have to go&lt;BR /&gt;fix my scripts now.</description>
      <pubDate>Mon, 08 May 2006 14:55:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ssh-within-dcl-command-procedure/m-p/3782819#M52171</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-08T14:55:42Z</dc:date>
    </item>
  </channel>
</rss>

