<?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: script embedding sftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660813#M48366</link>
    <description>After running ssh-agent, did you set and export SSH_AUTH_SOCK and SSH_AGENT_PID to what ssh-agent displayed?&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
    <pubDate>Sat, 09 Feb 2002 15:01:32 GMT</pubDate>
    <dc:creator>Darrell Allen</dc:creator>
    <dc:date>2002-02-09T15:01:32Z</dc:date>
    <item>
      <title>script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660807#M48360</link>
      <description>I want to create an automated script on an hp260/11 server  to dump files on a RD linux 7.0.  I have an ftp script which does this:&lt;BR /&gt;ftp -i -n &amp;lt;&amp;lt;-EOF&lt;BR /&gt;        open &lt;A href="http://www.xxx.xx" target="_blank"&gt;www.xxx.xx&lt;/A&gt; &lt;BR /&gt;        user user_name password&lt;BR /&gt;        bin&lt;BR /&gt;  put file_log &lt;BR /&gt;        quit&lt;BR /&gt;        EOF&lt;BR /&gt;Anyone know what the equivalent (switches) would be for sftp2 (using F-Secure ssh 2.1 on hpux) and on Linux it is Openssh 2.1)?&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Feb 2002 16:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660807#M48360</guid>
      <dc:creator>lastgreatone</dc:creator>
      <dc:date>2002-02-07T16:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660808#M48361</link>
      <description>Hi Frankie,&lt;BR /&gt;&lt;BR /&gt;Why not use scp instead of sftp?  I find that to be a much cleaner approach.&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Thu, 07 Feb 2002 16:26:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660808#M48361</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-02-07T16:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660809#M48362</link>
      <description>I scp'd the public key to the remote server into the authorization file.  I enabled public key authorization in the sshd2_config file. When I scp from the client I still get prompted for a password.  Yet I ssh-keygen with a passphrase, any clues?</description>
      <pubDate>Fri, 08 Feb 2002 14:44:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660809#M48362</guid>
      <dc:creator>lastgreatone</dc:creator>
      <dc:date>2002-02-08T14:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660810#M48363</link>
      <description>Frankie,&lt;BR /&gt;&lt;BR /&gt;use perl:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://search.cpan.org/search?mode=module&amp;amp;query=sftp" target="_blank"&gt;http://search.cpan.org/search?mode=module&amp;amp;query=sftp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 08 Feb 2002 14:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660810#M48363</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-02-08T14:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660811#M48364</link>
      <description>I not sure if you have to do this but after enabling public key authorization, did you restart sshd?  Did you get prompted for a password or for a passphrase?&lt;BR /&gt;&lt;BR /&gt;With F-Secure sshd, you can use keys without a passphrase.  It would be more secure to have the passphrase though I'm not sure how you would use ssh-agent and ssh-add in an automated, scripted environment.  This thread may help:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2ebca2db8513d6118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2ebca2db8513d6118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Fri, 08 Feb 2002 15:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660811#M48364</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-02-08T15:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660812#M48365</link>
      <description>Thanks for the links, I see I'm not the only one frustrated with ssh.  Why do I keep getting Failed to connect to authentication agent - agent not running ? and yet it's running!! what I'm I doing wrong?</description>
      <pubDate>Fri, 08 Feb 2002 19:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660812#M48365</guid>
      <dc:creator>lastgreatone</dc:creator>
      <dc:date>2002-02-08T19:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660813#M48366</link>
      <description>After running ssh-agent, did you set and export SSH_AUTH_SOCK and SSH_AGENT_PID to what ssh-agent displayed?&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Sat, 09 Feb 2002 15:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660813#M48366</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-02-09T15:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: script embedding sftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660814#M48367</link>
      <description>Yes.  At the start of my rlogin session I run ssh-agent2 but when I run ssh-add2 I still get the error.  It would appear that the agent inheritence does not occur.  I'm not sure why.</description>
      <pubDate>Mon, 11 Feb 2002 14:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-embedding-sftp/m-p/2660814#M48367</guid>
      <dc:creator>lastgreatone</dc:creator>
      <dc:date>2002-02-11T14:55:20Z</dc:date>
    </item>
  </channel>
</rss>

