<?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 Scripting sftp with password in batch mode in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098608#M49540</link>
    <description>I'm attempting to automate an sftp process, but have been unable to provide the password that works interactively.&lt;BR /&gt;&lt;BR /&gt;The remote server is not ours and we would prefer to solve this without further involving the other party if at all possible.&lt;BR /&gt;&lt;BR /&gt;But every attempt I've made, reading and following various other articles in this forum, has failed.  I've run it with debugging on and if -b or BatchMode Yes is given, no attempt is made to read the password from stdin or the batch file.  It appears that authentication must complete before the batch file or stdin is read for commands.&lt;BR /&gt;&lt;BR /&gt;Is that the final word?  Is there no way to non-interactively supply a password?&lt;BR /&gt;&lt;BR /&gt;This is HP-UX 11.11&lt;BR /&gt;SSH is "  T1471AA                               A.04.30.002    HP-UX Secure Shell"</description>
    <pubDate>Wed, 19 Mar 2008 02:29:38 GMT</pubDate>
    <dc:creator>Carl Houseman</dc:creator>
    <dc:date>2008-03-19T02:29:38Z</dc:date>
    <item>
      <title>Scripting sftp with password in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098608#M49540</link>
      <description>I'm attempting to automate an sftp process, but have been unable to provide the password that works interactively.&lt;BR /&gt;&lt;BR /&gt;The remote server is not ours and we would prefer to solve this without further involving the other party if at all possible.&lt;BR /&gt;&lt;BR /&gt;But every attempt I've made, reading and following various other articles in this forum, has failed.  I've run it with debugging on and if -b or BatchMode Yes is given, no attempt is made to read the password from stdin or the batch file.  It appears that authentication must complete before the batch file or stdin is read for commands.&lt;BR /&gt;&lt;BR /&gt;Is that the final word?  Is there no way to non-interactively supply a password?&lt;BR /&gt;&lt;BR /&gt;This is HP-UX 11.11&lt;BR /&gt;SSH is "  T1471AA                               A.04.30.002    HP-UX Secure Shell"</description>
      <pubDate>Wed, 19 Mar 2008 02:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098608#M49540</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-03-19T02:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting sftp with password in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098609#M49541</link>
      <description>&amp;gt; Is that the final word? Is there no way to&lt;BR /&gt;&amp;gt; non-interactively supply a password?&lt;BR /&gt;&lt;BR /&gt;It's hardly a non-existence proof, but I&lt;BR /&gt;don't think that there is.  There's a strong&lt;BR /&gt;argument to be made that any scheme which&lt;BR /&gt;allows (or encourages) a password to be&lt;BR /&gt;stored in a file is inherently insecure.&lt;BR /&gt;&lt;BR /&gt;I thought that the normal way to deal with&lt;BR /&gt;this sort of requirement was to use&lt;BR /&gt;public-key authorization with a no-passphrase&lt;BR /&gt;key.  Or host-based authorization.  Or any&lt;BR /&gt;other possible scheme which didn't actually&lt;BR /&gt;require a password to be supplied.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; This is HP-UX 11.11&lt;BR /&gt;&lt;BR /&gt;So perhaps an HP-UX forum would be a better&lt;BR /&gt;place for this question than this Linux&lt;BR /&gt;forum.</description>
      <pubDate>Wed, 19 Mar 2008 04:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098609#M49541</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-03-19T04:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Scripting sftp with password in batch mode</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098610#M49542</link>
      <description>Oops!  I was reading articles for OpenVMS, Linux, and HP-UX, and thought I was replying to one of the HP-UX onces when I wrote the post.&lt;BR /&gt;&lt;BR /&gt;Mods, feel free to delete this thread if you like...</description>
      <pubDate>Wed, 19 Mar 2008 05:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripting-sftp-with-password-in-batch-mode/m-p/5098610#M49542</guid>
      <dc:creator>Carl Houseman</dc:creator>
      <dc:date>2008-03-19T05:16:24Z</dc:date>
    </item>
  </channel>
</rss>

