<?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: scp authentication in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289025#M336522</link>
    <description>I also think new keys for the acocunt would be the "key" to a solution. (NO I am not trying to be funny) I ran into a similar problem, specifically with cron and a "new" account, new keys is fast and relatively simple. Go for it. Old School is always a good source, make sure you listen to his advice.</description>
    <pubDate>Fri, 17 Oct 2008 13:15:50 GMT</pubDate>
    <dc:creator>Adam W.</dc:creator>
    <dc:date>2008-10-17T13:15:50Z</dc:date>
    <item>
      <title>scp authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289023#M336520</link>
      <description>Hi,&lt;BR /&gt;In an oracle backup script which is scheduled to run by oracle user (rx7620,OS11.23), we use scp to copy backed up files to a linux system for testing purpose.Recently we change the package to alternate cluster node. After that, using cron scp is not working because it is asking the password of remote system.&lt;BR /&gt;So,I generate ssh key for oracle user,copy public key to remote systems authorized_keys file in oracle users home directory. &lt;BR /&gt;In hp server, enable ssh-agent for oracle user through .profile file and adding passphrase[(using ssh-add cmd)need to do each time user logs in], I can login without passwd. But how can I do this through a cron job?  &lt;BR /&gt; I don't know how it was running previously.</description>
      <pubDate>Fri, 17 Oct 2008 11:19:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289023#M336520</guid>
      <dc:creator>akarayil</dc:creator>
      <dc:date>2008-10-17T11:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: scp authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289024#M336521</link>
      <description>1) "Recently we change the package to alternate cluster node. After that, using cron scp is not working because it is asking the password of remote system...."&lt;BR /&gt;&lt;BR /&gt;Perhaps the easiest solution for the above is to generate new keys for the oracle user on the "alternate server" and add them to the authorized keys file on the oracle server.&lt;BR /&gt;&lt;BR /&gt;2) "So,I generate ssh key for oracle user,copy public key to remote systems authorized_keys file in oracle users home directory. In hp server, enable ssh-agent for oracle user through .profile file and adding passphrase[(using ssh-add cmd)need to do each time user logs in], I can login without passwd. But how can I do this through a cron job? &lt;BR /&gt;I don't know how it was running previously."&lt;BR /&gt;&lt;BR /&gt;Typically, you wouldn't use a "pass phrase" for the user in the cron job.  Instead you rely solely on the security provided by the keys themselves.  There may be other ways around this.  If so, I haven't used them.</description>
      <pubDate>Fri, 17 Oct 2008 12:50:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289024#M336521</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-10-17T12:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: scp authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289025#M336522</link>
      <description>I also think new keys for the acocunt would be the "key" to a solution. (NO I am not trying to be funny) I ran into a similar problem, specifically with cron and a "new" account, new keys is fast and relatively simple. Go for it. Old School is always a good source, make sure you listen to his advice.</description>
      <pubDate>Fri, 17 Oct 2008 13:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scp-authentication/m-p/4289025#M336522</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2008-10-17T13:15:50Z</dc:date>
    </item>
  </channel>
</rss>

