<?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 password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595122#M741820</link>
    <description>Just took over some system where a ssh key was gen'd w/password.  Users now want to run 'batch' type jobs without user prompts, so what is the HP preferred method???  On linux I know some use 'expect' to pass the args...</description>
    <pubDate>Tue, 02 Aug 2005 19:56:45 GMT</pubDate>
    <dc:creator>Dan Matlock_1</dc:creator>
    <dc:date>2005-08-02T19:56:45Z</dc:date>
    <item>
      <title>ssh password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595122#M741820</link>
      <description>Just took over some system where a ssh key was gen'd w/password.  Users now want to run 'batch' type jobs without user prompts, so what is the HP preferred method???  On linux I know some use 'expect' to pass the args...</description>
      <pubDate>Tue, 02 Aug 2005 19:56:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595122#M741820</guid>
      <dc:creator>Dan Matlock_1</dc:creator>
      <dc:date>2005-08-02T19:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: ssh password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595123#M741821</link>
      <description>I can't say that there's any preferred method, just use what you feel is secure and right for your environment. You can either use ssh-agent to cache the passphrase or remove the passphrase from the key.&lt;BR /&gt;&lt;BR /&gt;Sorry, I don't have time to write up a mini how-to for ya, but be sure to check out the man pages for ssh-keygen and ssh-agent. Also try a search on the forums for "ssh-agent script"&lt;BR /&gt;&lt;BR /&gt;hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Tue, 02 Aug 2005 20:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595123#M741821</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-08-02T20:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: ssh password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595124#M741822</link>
      <description>Setup a sshey with a null passphrase if you must do this.  Its your most secure, free option.  Your data will be encrypted between point a and b.  There will be no passwords sent across the network.  Expect has poor security and unexpected garbage can cause your expect script to fail.</description>
      <pubDate>Tue, 02 Aug 2005 21:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595124#M741822</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2005-08-02T21:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: ssh password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595125#M741823</link>
      <description>As an addendum to the alternate ssh key:&lt;BR /&gt;&lt;BR /&gt;The trick is to set up an alternate ssh key pair that does not have a passphrase associated with it.  If possible, on the target systems, you want to limit that public key so that it can only execute the given command.  &lt;BR /&gt;&lt;BR /&gt;To set up the new key pair, issue the following:&lt;BR /&gt;&lt;BR /&gt;ssh-keygen -t dsa -P "" -f ~/.ssh/ego&lt;BR /&gt;&lt;BR /&gt;Distribute the new public key as you normally would, then from the source system, execute:&lt;BR /&gt;&lt;BR /&gt;ssh -i ~/.ssh/ego ${host} ${command}&lt;BR /&gt;&lt;BR /&gt;Once you have this working from the command, simply put the full command line in the appropriate crontab.&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 04 Aug 2005 12:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595125#M741823</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2005-08-04T12:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: ssh password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595126#M741824</link>
      <description>Another way to disable passprase/password prompting is to create a $HOME/.ssh/config file with "BatchMode yes".&lt;BR /&gt;&lt;BR /&gt;Check the ssh_config man page.</description>
      <pubDate>Wed, 10 Aug 2005 09:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595126#M741824</guid>
      <dc:creator>Bob Ingersoll</dc:creator>
      <dc:date>2005-08-10T09:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: ssh password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595127#M741825</link>
      <description>I've attached the procedure I use for setting up passwordless ssh logins.&lt;BR /&gt;Share And Enjoy&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Aug 2005 10:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-password/m-p/3595127#M741825</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-08-10T10:32:21Z</dc:date>
    </item>
  </channel>
</rss>

