<?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: stdin &amp;amp; ssh: &amp;quot;Pseudo-terminal will not be allocated...&amp;quot; error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954190#M740309</link>
    <description>Well, I am not sure if this is solution will work in our environment but I will give it a shot anyway.&lt;BR /&gt;&lt;BR /&gt;Thanks for the tips!&lt;BR /&gt;&lt;BR /&gt;regards</description>
    <pubDate>Fri, 27 Jan 2006 09:48:41 GMT</pubDate>
    <dc:creator>Haralambos</dc:creator>
    <dc:date>2006-01-27T09:48:41Z</dc:date>
    <item>
      <title>stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954184#M740303</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there a good way to programmatically pass  my password or public key to ssh (OpenSsh 3.91)?&lt;BR /&gt;&lt;BR /&gt;When I do either:&lt;BR /&gt;&lt;BR /&gt;echo "mypasswd" &amp;gt; ssh myhost -l user&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;ssh myhost -l user &amp;lt;&amp;lt; EOF&lt;BR /&gt;mypasswd&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;I get the following error:&lt;BR /&gt;"Pseudo-terminal will not be allocated because stdin is not a terminal"&lt;BR /&gt;&lt;BR /&gt;So, the real question is how do I have scripts/applications use ssh without user intervention? Ok, I can use public key authentication with ssh-agents but in my environment do not have time for the users to enter data in the agent. I want the server to come up with no user input wharsoever.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;haralambos</description>
      <pubDate>Mon, 23 Jan 2006 10:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954184#M740303</guid>
      <dc:creator>Haralambos</dc:creator>
      <dc:date>2006-01-23T10:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954185#M740304</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ssh_keygen -t dsa&lt;BR /&gt;scp ~.ssh/dsa_pub host:/root/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;The procedure for root, change it accordingly.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 23 Jan 2006 11:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954185#M740304</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-01-23T11:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954186#M740305</link>
      <description>The only way to have no interaction and not to have to use agents is to have passphraseless keys.  Obviously these are less secure than keys with passphrases, however clearly they are many times more secure than rlogin!  It's your call to weigh up convenience with security.</description>
      <pubDate>Mon, 23 Jan 2006 11:39:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954186#M740305</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2006-01-23T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954187#M740306</link>
      <description>If you don't want to generate a key as per the previous posting, you can use the program called "expect".  It's at the HPUX porting archive.  I've used it sucessfully for exactly what you're needing.  &lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.43/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.43/&lt;/A&gt;</description>
      <pubDate>Mon, 23 Jan 2006 11:41:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954187#M740306</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-01-23T11:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954188#M740307</link>
      <description>Yeah!!!&lt;BR /&gt;&lt;BR /&gt;I really want to keep my keys passphrase encrypted and at the same time have the convinience of no-human interaction at boot time. I mean, ssh-agents can be actually used but again the requirement is to not have the users enter the passphrase.&lt;BR /&gt;&lt;BR /&gt;So, how can the "expect" scripts work in this case? Can you provide an example? When and how are they being kicked-off and how is the passphrase/passwd passed to them; is it hardcoded?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Haralambos</description>
      <pubDate>Mon, 23 Jan 2006 12:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954188#M740307</guid>
      <dc:creator>Haralambos</dc:creator>
      <dc:date>2006-01-23T12:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954189#M740308</link>
      <description>It's a scripting language that has the ability to listen (to the screen I/O) and "wait-for" events, and then reply.  Yes, you hard code the password in the expect script, so you have to watch the security level on the file very closely.&lt;BR /&gt;&lt;BR /&gt;I don't have any working examples handy, but if you search these forums for "expect" you'll find some.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jan 2006 08:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954189#M740308</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2006-01-24T08:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: stdin &amp; ssh: "Pseudo-terminal will not be allocated..." error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954190#M740309</link>
      <description>Well, I am not sure if this is solution will work in our environment but I will give it a shot anyway.&lt;BR /&gt;&lt;BR /&gt;Thanks for the tips!&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Fri, 27 Jan 2006 09:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/stdin-amp-ssh-quot-pseudo-terminal-will-not-be-allocated-quot/m-p/4954190#M740309</guid>
      <dc:creator>Haralambos</dc:creator>
      <dc:date>2006-01-27T09:48:41Z</dc:date>
    </item>
  </channel>
</rss>

