<?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 batch job vs interactive in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406965#M57927</link>
    <description>There's an existing discussion of using sftp from batch:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=985928" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=985928&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also see the sftp batch stuff in the &lt;A href="http://h71000.www7.hp.com/doc/83final/ba548_90007/ba548_90007.pdf" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/ba548_90007/ba548_90007.pdf&lt;/A&gt; ssh manual and in the release notes.&lt;BR /&gt;&lt;BR /&gt;A variant solution (and which you're aware of) involves pseudo-terminals.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.com/group/comp.os.vms/browse_thread/thread/935cb20e7ca233c1/e81df2ace8ab8835" target="_blank"&gt;http://groups.google.com/group/comp.os.vms/browse_thread/thread/935cb20e7ca233c1/e81df2ace8ab8835&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And in various implementations of the sftp client on various platforms, switching to batch mode explicitly disallows prompting for the password; you have to switch away from passwords to use this.</description>
    <pubDate>Thu, 23 Apr 2009 19:43:08 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2009-04-23T19:43:08Z</dc:date>
    <item>
      <title>SFTP batch job vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406964#M57926</link>
      <description>OpenVMS Alpha 8.3&lt;BR /&gt;TCPIP V5.6&lt;BR /&gt;&lt;BR /&gt;When trying to do a sftp "-B" file.nam user@domain.com&lt;BR /&gt;&lt;BR /&gt;from an interactive session, this command works. When trying to do it via a batch jobs, get the following error:&lt;BR /&gt;Failed to set terminal mode to PASTHRU in sftp.d&lt;BR /&gt;&lt;BR /&gt;and it does not return any information.</description>
      <pubDate>Thu, 23 Apr 2009 18:49:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406964#M57926</guid>
      <dc:creator>James T Horn</dc:creator>
      <dc:date>2009-04-23T18:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP batch job vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406965#M57927</link>
      <description>There's an existing discussion of using sftp from batch:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=985928" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=985928&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also see the sftp batch stuff in the &lt;A href="http://h71000.www7.hp.com/doc/83final/ba548_90007/ba548_90007.pdf" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/ba548_90007/ba548_90007.pdf&lt;/A&gt; ssh manual and in the release notes.&lt;BR /&gt;&lt;BR /&gt;A variant solution (and which you're aware of) involves pseudo-terminals.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.com/group/comp.os.vms/browse_thread/thread/935cb20e7ca233c1/e81df2ace8ab8835" target="_blank"&gt;http://groups.google.com/group/comp.os.vms/browse_thread/thread/935cb20e7ca233c1/e81df2ace8ab8835&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And in various implementations of the sftp client on various platforms, switching to batch mode explicitly disallows prompting for the password; you have to switch away from passwords to use this.</description>
      <pubDate>Thu, 23 Apr 2009 19:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406965#M57927</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-04-23T19:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: SFTP batch job vs interactive</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406966#M57928</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;  SSH (and I presume SFTP) make assumptions about their environment which aren't always true. Try preceeding your command with &lt;BR /&gt;&lt;BR /&gt;$ DEFINE/USER SYS$COMMAND NL:&lt;BR /&gt;&lt;BR /&gt;  I find this is necessary when executing SSH commands from a command procedure. I'm guessing it's the same for SFTP.</description>
      <pubDate>Thu, 23 Apr 2009 22:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/sftp-batch-job-vs-interactive/m-p/4406966#M57928</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-04-23T22:37:45Z</dc:date>
    </item>
  </channel>
</rss>

