<?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: automated sftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253634#M331837</link>
    <description>shalom,&lt;BR /&gt;&lt;BR /&gt;Its almost exactly the same&lt;BR /&gt;&lt;BR /&gt;sftp user@hostname &amp;gt;&amp;gt;EOF&lt;BR /&gt;password&lt;BR /&gt;cd&lt;BR /&gt;put file&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might also try:&lt;BR /&gt;&lt;BR /&gt; sftp -b batchfile user@host&lt;BR /&gt;&lt;BR /&gt;Or set up password free public key exhange and simply use scp to do the job without a password.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Mon, 18 Aug 2008 06:12:58 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2008-08-18T06:12:58Z</dc:date>
    <item>
      <title>automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253633#M331836</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;We use a ftp script as given below to automate some file transfer from a unix server to a windows server;&lt;BR /&gt;&lt;BR /&gt;ftp -v -n &amp;lt;</description>
      <pubDate>Mon, 18 Aug 2008 06:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253633#M331836</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2008-08-18T06:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253634#M331837</link>
      <description>shalom,&lt;BR /&gt;&lt;BR /&gt;Its almost exactly the same&lt;BR /&gt;&lt;BR /&gt;sftp user@hostname &amp;gt;&amp;gt;EOF&lt;BR /&gt;password&lt;BR /&gt;cd&lt;BR /&gt;put file&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You might also try:&lt;BR /&gt;&lt;BR /&gt; sftp -b batchfile user@host&lt;BR /&gt;&lt;BR /&gt;Or set up password free public key exhange and simply use scp to do the job without a password.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 18 Aug 2008 06:12:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253634#M331837</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-18T06:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253635#M331838</link>
      <description>Hi SEP&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick response. &lt;BR /&gt;&lt;BR /&gt;But the script is not working. When I execute the script it is prompting me to enter the password. If I enter password, rest things are working fine. &lt;BR /&gt;&lt;BR /&gt;Are you sure that it is working for you at your place ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 18 Aug 2008 06:40:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253635#M331838</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2008-08-18T06:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253636#M331839</link>
      <description>Can anyone help me to enable ssh password free access from a HP-UX box to a windows XP server ?</description>
      <pubDate>Mon, 18 Aug 2008 06:45:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253636#M331839</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2008-08-18T06:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253637#M331840</link>
      <description>&amp;gt; Can anyone help me [...]&lt;BR /&gt;&lt;BR /&gt;Have you set up public-key pairs yet (as&lt;BR /&gt;already suggested)?</description>
      <pubDate>Mon, 18 Aug 2008 18:47:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253637#M331840</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-18T18:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253638#M331841</link>
      <description>You can also try using an expect script to do the transfer. I had to set this up at another hospital I worked at. There is an expect recorder that you can use to create a baseline script and edit it as needed. You'll essentially end up manually walking through one sftp session completely, and then modifying the script to either read in a list of files to transfer or something of the sort. It's basically TCL/TK, so if you're familiar, the setup is quite easy.</description>
      <pubDate>Wed, 20 Aug 2008 15:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253638#M331841</guid>
      <dc:creator>Jon M Zellhoefer</dc:creator>
      <dc:date>2008-08-20T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253639#M331842</link>
      <description>Hi, Use this it is tested.&lt;BR /&gt;&lt;BR /&gt;ftp -i â  n &lt;HOSTNAME&gt; &amp;lt;&lt;ENDFTP&gt;&lt;/ENDFTP&gt;user &lt;USERNAME&gt; &lt;PASSWORD&gt;&lt;BR /&gt;mkdir /test &lt;BR /&gt;cd test&lt;BR /&gt;lcd /data2/ME/ME_DATA/&lt;BR /&gt;mput Date*.DAT&lt;BR /&gt;ENDFTP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sam&lt;/PASSWORD&gt;&lt;/USERNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Fri, 22 Aug 2008 09:04:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253639#M331842</guid>
      <dc:creator>fsumair_1</dc:creator>
      <dc:date>2008-08-22T09:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253640#M331843</link>
      <description>Sorry I thought you are asking about ftp..&lt;BR /&gt;&lt;BR /&gt;As far I know I tried to do the sam from sftp from a script that is succesfully runnig on a linux machine but cannot done in HP-UX.</description>
      <pubDate>Fri, 22 Aug 2008 09:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253640#M331843</guid>
      <dc:creator>fsumair_1</dc:creator>
      <dc:date>2008-08-22T09:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253641#M331844</link>
      <description>set up key pairs and it will work, you need to place the public key from the unix box in the authorized keys file on the windows machine</description>
      <pubDate>Fri, 22 Aug 2008 12:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253641#M331844</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-08-22T12:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253642#M331845</link>
      <description>yes, solution here is to set a passwordfree sftp connection from unix box to wintel box.&lt;BR /&gt;&lt;BR /&gt;steps:&lt;BR /&gt;&lt;BR /&gt;1. Generate keypair at unix box using keygen&lt;BR /&gt;2. provide the public key pair to wintel guys&lt;BR /&gt;3. wintel guys will update key pair.&lt;BR /&gt;4. You will be initiating sftp connection request as following&lt;BR /&gt;&lt;BR /&gt;sftp localuser "domainname\remoteuser"@wintelmachine_name&lt;BR /&gt;&lt;BR /&gt;Refer to this doc...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.astro.caltech.edu/~mbonati/WIRC/manual/DATARED/setting_up_no-password_ssh.html" target="_blank"&gt;http://www.astro.caltech.edu/~mbonati/WIRC/manual/DATARED/setting_up_no-password_ssh.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;same for sftp also..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Aug 2008 13:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253642#M331845</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-22T13:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253643#M331846</link>
      <description>Sorry for the late reply. &lt;BR /&gt;&lt;BR /&gt;I created keypair. May I know the location of authorized_key file in windows servers ?&lt;BR /&gt;&lt;BR /&gt;From windows to unix server, passwordless copy is working fine. But the reverse is not happening. I think the location of my authorized_key file is wrong.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 25 Aug 2008 08:31:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253643#M331846</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2008-08-25T08:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253644#M331847</link>
      <description>it should be in&lt;BR /&gt;&lt;BR /&gt;path=...\sftp\username\.ssh directory&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Aug 2008 12:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253644#M331847</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-25T12:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253645#M331848</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If it is windows xp, then the best way is to install cygwin on it and do a passwordless sftp as you would do from any unix box to another one.&lt;BR /&gt;&lt;BR /&gt;As far as I know, this is the only way to get the passwordless ssh/sftp to work on windows xp. Otherwise, it would always ask for the passwd.&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Mon, 25 Aug 2008 12:33:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253645#M331848</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-08-25T12:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: automated sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253646#M331849</link>
      <description>You can get Cygwin here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://cygwin.com/" target="_blank"&gt;http://cygwin.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;rgds.</description>
      <pubDate>Mon, 25 Aug 2008 12:35:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automated-sftp/m-p/4253646#M331849</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-08-25T12:35:55Z</dc:date>
    </item>
  </channel>
</rss>

