<?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 login problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920182#M285804</link>
    <description>Hi,&lt;BR /&gt;i have posted message regarding the ssh secure shell problem few days ago. Actually i'm having a problem that i'm able to execute ssh as a client from commnad line from a hp box.But ssh is failing with permission denied ,public key ,passwd error when used within the script. Any workaround idea or fix?Strongly Appreciated.&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 03 Jan 2007 10:38:27 GMT</pubDate>
    <dc:creator>navin</dc:creator>
    <dc:date>2007-01-03T10:38:27Z</dc:date>
    <item>
      <title>login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920182#M285804</link>
      <description>Hi,&lt;BR /&gt;i have posted message regarding the ssh secure shell problem few days ago. Actually i'm having a problem that i'm able to execute ssh as a client from commnad line from a hp box.But ssh is failing with permission denied ,public key ,passwd error when used within the script. Any workaround idea or fix?Strongly Appreciated.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 03 Jan 2007 10:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920182#M285804</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2007-01-03T10:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920183#M285805</link>
      <description>Do you setup paswordless ssh login to be able to use it from script - &lt;A href="http://www.cvrti.utah.edu/~dustman/no-more-pw-ssh/" target="_blank"&gt;http://www.cvrti.utah.edu/~dustman/no-more-pw-ssh/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 03 Jan 2007 11:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920183#M285805</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-01-03T11:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920184#M285806</link>
      <description>Thanks for the doc. But for couple of reasons i may wish to try the ssh with passwd.&lt;BR /&gt;Thanks anyway for the useful document.&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 03 Jan 2007 11:44:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920184#M285806</guid>
      <dc:creator>navin</dc:creator>
      <dc:date>2007-01-03T11:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: login problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920185#M285807</link>
      <description>There's not so many details in you problem description...&lt;BR /&gt;&lt;BR /&gt;It could be a scripting error:&lt;BR /&gt;Do you try to pipe the password instead of sharing the public key?&lt;BR /&gt; - this will not work unless you're using a sophisticated script which send the password *after* you've received the prompt (otherwise the buffer will be cleared).&lt;BR /&gt; - it could be that you run with another username...&lt;BR /&gt; - always check environment when a script don't run properly as a cronjob.&lt;BR /&gt; - also make sure it is sh-posix or that you specify which kind of shell script&lt;BR /&gt;&lt;BR /&gt;Assuming no script problem:&lt;BR /&gt;This could be a host lookup problem.&lt;BR /&gt;Quite common if you have multiple NIC's.&lt;BR /&gt;&lt;BR /&gt;What is the hostname in the public key?&lt;BR /&gt;# cat ~/.ssh/id_rsa.pub&lt;BR /&gt;&lt;BR /&gt;Is this the same user@hostname as you always will be resolved to on the remote host?&lt;BR /&gt;&lt;BR /&gt;When you login and run the script manually, the script/communication is likely to use the same interface as you connected to.&lt;BR /&gt;&lt;BR /&gt;Client -lan1-&amp;gt; Host:Script --ssh-lan1-&amp;gt; Host2&lt;BR /&gt;(no-pty)Host:Script --ssh-lan2-&amp;gt; Host2&lt;BR /&gt;&lt;BR /&gt;If Host is resolved differently on Host2 depending on which interface it is using, it might be unable to verify the key.&lt;BR /&gt;&lt;BR /&gt;/Tor-Arne</description>
      <pubDate>Mon, 15 Jan 2007 11:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/login-problem/m-p/3920185#M285807</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2007-01-15T11:57:53Z</dc:date>
    </item>
  </channel>
</rss>

