<?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>Operating System - OpenVMSのトピックRe: Automate SFTP</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853921#M78722</link>
    <description>To automate, or use SFTP in batch mode, you must set up either public key (preferred) or host based authentication.  SSH (which SFTP uses as a transport) does not accept passwords when used in batch mode because of the potential of the command file being read and the password being obtained by people that should not have it.&lt;BR /&gt;&lt;BR /&gt;Public key and host based authentication require placing files containing public keys in the correct places and setting up other control files to point to them.  The manuals show this information and it has been discussed here before.</description>
    <pubDate>Thu, 31 Aug 2006 06:55:29 GMT</pubDate>
    <dc:creator>Richard Whalen</dc:creator>
    <dc:date>2006-08-31T06:55:29Z</dc:date>
    <item>
      <title>Automate SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853918#M78719</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I want to automate SFTP to one of our managed node as FTP ports are not open for the same.&lt;BR /&gt;&lt;BR /&gt;Please provide me a script if someone has done the same.&lt;BR /&gt;&lt;BR /&gt;Cheers:)</description>
      <pubDate>Thu, 31 Aug 2006 01:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853918#M78719</guid>
      <dc:creator>Vibhor</dc:creator>
      <dc:date>2006-08-31T01:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853919#M78720</link>
      <description>Vibhor,&lt;BR /&gt;&lt;BR /&gt;you must use the -B option to specify a file, which contains the commands to use, e.g.&lt;BR /&gt;&lt;BR /&gt;$ sftp "-B" a.bat ! pls. note the "" to force uppercase&lt;BR /&gt;&lt;BR /&gt;where A.BAT may contain e.g.:&lt;BR /&gt;  open -l node&lt;BR /&gt;  ls&lt;BR /&gt;&lt;BR /&gt;If A.BAT is not STMLF, SFTP converts it on the fly (at least under TCPIP V5.6).&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 31 Aug 2006 03:25:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853919#M78720</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-08-31T03:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853920#M78721</link>
      <description>Hi Vibhor&lt;BR /&gt;&lt;BR /&gt;I havent used SFTP yet but I would imagine it's very similar in it's use to regular FTP.&lt;BR /&gt;&lt;BR /&gt;A simple FTP example :---&lt;BR /&gt;&lt;BR /&gt;script.com ....&lt;BR /&gt;--------------&lt;BR /&gt;$!&lt;BR /&gt;$ sftp name-sftp-server&lt;BR /&gt;username&lt;BR /&gt;password&lt;BR /&gt;dir&lt;BR /&gt;put some-file&lt;BR /&gt;dir&lt;BR /&gt;bye&lt;BR /&gt;$!&lt;BR /&gt;----------------&lt;BR /&gt;According to the book you can use...&lt;BR /&gt;$ sftp -B file-with-sftp-commands.com user@node&lt;BR /&gt;&lt;BR /&gt;You put the ftp commands in the "file" indicated by "-B"&lt;BR /&gt;&lt;BR /&gt;I found this in the "TCPIP Services for OpenVMS GUIDE TO SSH"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Aug 2006 03:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853920#M78721</guid>
      <dc:creator>Steve-Thompson</dc:creator>
      <dc:date>2006-08-31T03:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853921#M78722</link>
      <description>To automate, or use SFTP in batch mode, you must set up either public key (preferred) or host based authentication.  SSH (which SFTP uses as a transport) does not accept passwords when used in batch mode because of the potential of the command file being read and the password being obtained by people that should not have it.&lt;BR /&gt;&lt;BR /&gt;Public key and host based authentication require placing files containing public keys in the correct places and setting up other control files to point to them.  The manuals show this information and it has been discussed here before.</description>
      <pubDate>Thu, 31 Aug 2006 06:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853921#M78722</guid>
      <dc:creator>Richard Whalen</dc:creator>
      <dc:date>2006-08-31T06:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853922#M78723</link>
      <description>Vibhor,&lt;BR /&gt;&lt;BR /&gt;please see my previous thread about setting up SFTP on OpenVMS:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985928" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=985928&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 31 Aug 2006 09:50:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853922#M78723</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-08-31T09:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automate SFTP</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853923#M78724</link>
      <description>Thanks guys,&lt;BR /&gt;Yes I did see the solutions provided earlier. &lt;BR /&gt;This should work.&lt;BR /&gt;&lt;BR /&gt;Cheers:)&lt;BR /&gt;vibhor</description>
      <pubDate>Mon, 04 Sep 2006 04:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/automate-sftp/m-p/3853923#M78724</guid>
      <dc:creator>Vibhor</dc:creator>
      <dc:date>2006-09-04T04:18:06Z</dc:date>
    </item>
  </channel>
</rss>

