<?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 ssh problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543377#M733178</link>
    <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I want to use the ssh login to a system without the passwd reading from the stdin,&lt;BR /&gt;&lt;BR /&gt;For example, store password somewhere for ssh to get it or use environment variable.&lt;BR /&gt;&lt;BR /&gt;I just want to use passwd to login, but without pass passwd or expect scripts,&lt;BR /&gt;so is there any method can work out?</description>
    <pubDate>Thu, 03 Dec 2009 04:51:26 GMT</pubDate>
    <dc:creator>yangk</dc:creator>
    <dc:date>2009-12-03T04:51:26Z</dc:date>
    <item>
      <title>ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543377#M733178</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I want to use the ssh login to a system without the passwd reading from the stdin,&lt;BR /&gt;&lt;BR /&gt;For example, store password somewhere for ssh to get it or use environment variable.&lt;BR /&gt;&lt;BR /&gt;I just want to use passwd to login, but without pass passwd or expect scripts,&lt;BR /&gt;so is there any method can work out?</description>
      <pubDate>Thu, 03 Dec 2009 04:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543377#M733178</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-03T04:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543378#M733179</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I just want to use passwd to login, [...]&lt;BR /&gt;&lt;BR /&gt;Why?  With SSH, it's possible to use public&lt;BR /&gt;key authorization without using a password.&lt;BR /&gt;&lt;BR /&gt;A Forum seatch for keywords like, say:&lt;BR /&gt;      ssh publickey&lt;BR /&gt;or:&lt;BR /&gt;      ssh public key&lt;BR /&gt;should find very many old threads on this&lt;BR /&gt;topic.</description>
      <pubDate>Thu, 03 Dec 2009 05:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543378#M733179</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-03T05:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543379#M733180</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I know that the ssh can use the public key to do the authentication , but I just want to&lt;BR /&gt;use the passwd to login without pass the passwd.&lt;BR /&gt;&lt;BR /&gt;I think the method i uesd is a strange method.</description>
      <pubDate>Thu, 03 Dec 2009 05:38:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543379#M733180</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-03T05:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543380#M733181</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I just want to use the passwd to&lt;BR /&gt;&amp;gt; login without pass the passwd.&lt;BR /&gt;&lt;BR /&gt;If you can explain that so that it makes some&lt;BR /&gt;sense, then please do so.&lt;BR /&gt;&lt;BR /&gt;You want to use the password to log in, but&lt;BR /&gt;you don't want to send the password to the&lt;BR /&gt;remote system?  Does the remote system have&lt;BR /&gt;ESP?</description>
      <pubDate>Thu, 03 Dec 2009 06:06:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543380#M733181</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-03T06:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543381#M733182</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there any method that the ssh can get&lt;BR /&gt;passwd from file or use pipe passing the passwd to the ssh?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Dec 2009 06:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543381#M733182</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-03T06:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543382#M733183</link>
      <description>Hi,&lt;BR /&gt;Do you how to use SSH_ASKPASS with ssh?</description>
      <pubDate>Thu, 03 Dec 2009 07:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543382#M733183</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-03T07:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543383#M733184</link>
      <description>I have wondered about this issue for most of my UNIX Admin life.  What I believe this fellow wants is to be able to programatically send the password through the ssh command.  I totally get that it is rather meaningless if you just setup keys, but there are times I've thought this might be valuable.  So, here is the question restated (I should not get points for answering unless the author wants to be nice :)  "Is it possible to establish a login session using ssh using password authentication only, but having that password sent not by keyboard, but by some other programatic means?"  If it were, a shell script command might look something like below:&lt;BR /&gt;&lt;BR /&gt;cat mypass |xargs -i ssh host1 &amp;lt;{}&lt;BR /&gt;&lt;BR /&gt;where you'd use some means of redirecting the contents of 'mypass', which stores your password into the command 'ssh host1' - &lt;BR /&gt;&lt;BR /&gt;My guess, this is impossible, as I've tried, and had no success.  Really, it kinda defeats the purpose of "Secure Shell" - and storing the password in a file is horribly insecure, yes?  Nonetheless, I'd love to know if there's a way to do it!&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;Russ</description>
      <pubDate>Fri, 04 Dec 2009 16:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543383#M733184</guid>
      <dc:creator>Russ Park</dc:creator>
      <dc:date>2009-12-04T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543384#M733185</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I have wondered [...]&lt;BR /&gt;&lt;BR /&gt;I haven't, but if I had, I'd've assumed that&lt;BR /&gt;"expect" would do the job.  Perhaps a Forum&lt;BR /&gt;search for keywords like, say:&lt;BR /&gt;      ssh expect&lt;BR /&gt;would find something useful.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Really, it kinda defeats the purpose of&lt;BR /&gt;&amp;gt; "Secure Shell" [...]&lt;BR /&gt;&lt;BR /&gt;Sure seems to.</description>
      <pubDate>Fri, 04 Dec 2009 17:28:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543384#M733185</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-04T17:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543385#M733186</link>
      <description>Hi Park,&lt;BR /&gt;&lt;BR /&gt;What I want to do is just what you said.&lt;BR /&gt;&lt;BR /&gt;Is there a way for ssh to get passwd not from the stdin but from a file or somethin else which contain the password.&lt;BR /&gt;&lt;BR /&gt;I think the method is an odd way of ssh.&lt;BR /&gt;&lt;BR /&gt;So we can discuss here about the issue.</description>
      <pubDate>Mon, 07 Dec 2009 06:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543385#M733186</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-07T06:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543386#M733187</link>
      <description>Hi Schweda,&lt;BR /&gt;&lt;BR /&gt;I known that the expect script can reslove this problem of send the password to the ssh&lt;BR /&gt;automatic.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Dec 2009 06:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543386#M733187</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-07T06:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543387#M733188</link>
      <description>(In response to yangk)&lt;BR /&gt;&lt;BR /&gt;The 'expect' script?  What is that?  It's not an hpux or ksh command...&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 07 Dec 2009 17:09:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543387#M733188</guid>
      <dc:creator>Russ Park</dc:creator>
      <dc:date>2009-12-07T17:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543388#M733189</link>
      <description>The ssh client is specifically programmed to not accept passwords from standard input: it explicitly reads the terminal device, bypassing any input/output redirection. The "passwd" command does the same.&lt;BR /&gt;&lt;BR /&gt;This is done intentionally to discourage users from writing scripts with embedded passwords. Accepting the password from an environment variable is not implemented, for the exact same reason.&lt;BR /&gt;&lt;BR /&gt;This mechanism is not perfect: it can be bypassed with a bit of effort, but it is intended to make the user think about finding a better (hopefully more secure) way to solve his/her access or automation problem.&lt;BR /&gt;&lt;BR /&gt;With password authentication, an unauthorized person needs only to read the script once, and then s/he can make unauthorized connections from any location that otherwise allows connections to the target system. &lt;BR /&gt;&lt;BR /&gt;With SSH keys, you can place restrictions on keys at the server side, so that a particular key is accepted only if the connection comes from an IP address that is specifically listed as trusted for that key.&lt;BR /&gt;&lt;BR /&gt;It is even possible to allow/force a certain key to always run one particular command only, so that even if the private key has been compromised, the server admin knows that the worst thing the intruder can do with the key is to keep doing what the legitimate user normally does. &lt;BR /&gt;&lt;BR /&gt;For more information, type "man sshd" on your system and read the chapter titled "AUTHORIZED_KEYS FILE FORMAT".&lt;BR /&gt;&lt;BR /&gt;Of course the SSH keys can be misused, just like anything else. But with SSH keys, at least you have a tool that allows you to achieve markedly better security with just a little bit of extra effort.&lt;BR /&gt;&lt;BR /&gt;If your system is subject to security audits, you should always document your embedded passwords and other well-known security risks in advance. You should also document the technical reasons why the known-risky solution was chosen: "I did not want to use SSH keys" is not going to be an acceptable justification. &lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Mon, 07 Dec 2009 18:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543388#M733189</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-12-07T18:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543389#M733190</link>
      <description>to MK:&lt;BR /&gt;&lt;BR /&gt;Preaching to the chior, but I wasn't sure if there might not be a way to get around this.  Assuming there's no way to get passwd or ssh to accept redirected output, then the discussion is closed as far as I'm concerned...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Russ</description>
      <pubDate>Mon, 07 Dec 2009 18:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543389#M733190</guid>
      <dc:creator>Russ Park</dc:creator>
      <dc:date>2009-12-07T18:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543390#M733191</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The 'expect' script? What is that? It's not&lt;BR /&gt;&amp;gt; an hpux or ksh command...&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Perhaps a Forum&lt;BR /&gt;&amp;gt; search for keywords like, say:&lt;BR /&gt;&amp;gt;       ssh expect&lt;BR /&gt;&amp;gt; would find something useful.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Assuming there's no way [...]&lt;BR /&gt;&lt;BR /&gt;That's one approach.  Looking around is&lt;BR /&gt;another.</description>
      <pubDate>Mon, 07 Dec 2009 21:35:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543390#M733191</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-07T21:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543391#M733192</link>
      <description>Hi MK,&lt;BR /&gt;&lt;BR /&gt;ok, maybe there is no method to work aroud this issue. I have try many ways try using ssh to read from the stdin ,but it seems that all the ways are failed.&lt;BR /&gt;&lt;BR /&gt;So could you share with us , if you find a way to resolve this issue in the future?&lt;BR /&gt;&lt;BR /&gt;I will also concern with this issue.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 01:57:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543391#M733192</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-08T01:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543392#M733193</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I think I will open this issue for discuss.&lt;BR /&gt;&lt;BR /&gt;Thanks for all of you discuss about is!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Dec 2009 02:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543392#M733193</guid>
      <dc:creator>yangk</dc:creator>
      <dc:date>2009-12-08T02:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543393#M733194</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I have try many ways [...]&lt;BR /&gt;&lt;BR /&gt;Was "expect" in any of those (unspecified)&lt;BR /&gt;ways?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I known that the expect script can reslove&lt;BR /&gt;&amp;gt; this problem of send the password to the&lt;BR /&gt;&amp;gt; ssh automatic.&lt;BR /&gt;&lt;BR /&gt;What did that mean?</description>
      <pubDate>Tue, 08 Dec 2009 04:22:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem/m-p/4543393#M733194</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-12-08T04:22:08Z</dc:date>
    </item>
  </channel>
</rss>

