<?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: ssh to server is allowed one session but not a second in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114970#M726830</link>
    <description>AFAIK PRNG requires a restart....&amp;amp; he is afraid  to close the session...&lt;BR /&gt;But still...he can get on console ;)&lt;BR /&gt;2nd.. May be the keys were re-generated and weren't exchanged properly.... ssh -v IP may give some inputs to proceed....&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 12 Dec 2007 06:54:33 GMT</pubDate>
    <dc:creator>Anshumali</dc:creator>
    <dc:date>2007-12-12T06:54:33Z</dc:date>
    <item>
      <title>ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114966#M726826</link>
      <description>I am not so familiar with ssh.&lt;BR /&gt;&lt;BR /&gt;However I connected with ssh to a server,&lt;BR /&gt;and this worked (have the session still open,&lt;BR /&gt;I am afraid to close it now).&lt;BR /&gt;&lt;BR /&gt;I wanted to open another session to run something in background and the ssh command is given me agro about some key and to contact&lt;BR /&gt;our administrator&lt;BR /&gt;&lt;BR /&gt;Guess what, I am the administrator (red face?)&lt;BR /&gt;&lt;BR /&gt;Anyway this is the message, what do I need to do ?&lt;BR /&gt;[oracle@orasrv4:]/home/oracle/.ssh&lt;NEXUMPR&gt;&amp;gt;&amp;gt; ssh oracle@audibxud0010&lt;BR /&gt;Couldn't connect to PRNGD socket "/var/run/egd-pool": No such file or directory&lt;BR /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;BR /&gt;@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @&lt;BR /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;BR /&gt;IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!&lt;BR /&gt;Someone could be eavesdropping on you right now (man-in-the-middle attack)!&lt;BR /&gt;It is also possible that the RSA host key has just been changed.&lt;BR /&gt;The fingerprint for the RSA key sent by the remote host is&lt;BR /&gt;cc:ee:cc:c3:32:23:b4:75:4f:32:e7:ac:03:bc:b3:60.&lt;BR /&gt;Please contact your system administrator.&lt;BR /&gt;Add correct host key in /home/oracle/.ssh/known_hosts to get rid of this message.&lt;BR /&gt;Offending key in /home/oracle/.ssh/known_hosts:1&lt;BR /&gt;RSA host key for audibxud0010 has changed and you have requested strict checking.&lt;BR /&gt;Host key verification failed.&lt;BR /&gt;[oracle@orasrv4:]/home/oracle/.ssh&lt;NEXUMPR&gt;&amp;gt;&amp;gt; &lt;BR /&gt;&lt;BR /&gt;The key couldn't have possibly have changed,&lt;BR /&gt;or it is must be some automatic thing, but&lt;BR /&gt;then why does a putty ssh session from a pc work ?  I can't make sense of it.&lt;BR /&gt;&lt;BR /&gt;Can you make me see it.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/NEXUMPR&gt;&lt;/NEXUMPR&gt;</description>
      <pubDate>Tue, 11 Dec 2007 15:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114966#M726826</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2007-12-11T15:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114967#M726827</link>
      <description>I know nothing, but the "REMOTE HOST&lt;BR /&gt;IDENTIFICATION HAS CHANGED!" complaint may&lt;BR /&gt;arise if you have some fancy/redundant&lt;BR /&gt;multiple-IP-address/interface configuration.&lt;BR /&gt;(What to do about it is another question for&lt;BR /&gt;which I have no answer.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] "/var/run/egd-pool": No such file or directory&lt;BR /&gt;&lt;BR /&gt;Google suggests that your prngd process may&lt;BR /&gt;have died.  (Here, I may know even less than&lt;BR /&gt;nothing.)&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Dec 2007 15:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114967#M726827</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-12-11T15:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114968#M726828</link>
      <description>Hi,&lt;BR /&gt;   Did u exhchanged the keys between two m/c??&lt;BR /&gt;Can u able to find out the key is exchanged or not..&lt;BR /&gt;   Becaz i also faced the same issue but i couldn't solve the issue.Finalli i reinstall the ssh server thru yum on CentOS.&lt;BR /&gt;   &lt;BR /&gt;Regds,&lt;BR /&gt;Palani.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2007 01:58:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114968#M726828</guid>
      <dc:creator>palaniappan.sp</dc:creator>
      <dc:date>2007-12-12T01:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114969#M726829</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This error message is generated when ssh is attempting to generate a random number to be used for encryption. There are a few mechanisms it tries:&lt;BR /&gt;&lt;BR /&gt;The "Strong Random Number Generator" (/dev/random)&lt;BR /&gt;&lt;BR /&gt;The OpenSSL the Pseudo Random Number Generator Daemon (prngd)&lt;BR /&gt;&lt;BR /&gt;The random number generator helper (ssh-rand-helper)&lt;BR /&gt;&lt;BR /&gt;In attempting to contact prngd we attempt to open /var/run/egd-pool and log the error when this fails. We will continue on and use ssh-rand-helper so all will work as expect with the exceptions of the "spurious" error message.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;would recommend you&lt;BR /&gt;1) Install the Strong Random Number generator (available on software.hp.com)&lt;BR /&gt;&lt;BR /&gt;2) Install OpenSSL to get the prngd (the Pseudo Random Number Generator Daemon&lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2007 02:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114969#M726829</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-12-12T02:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114970#M726830</link>
      <description>AFAIK PRNG requires a restart....&amp;amp; he is afraid  to close the session...&lt;BR /&gt;But still...he can get on console ;)&lt;BR /&gt;2nd.. May be the keys were re-generated and weren't exchanged properly.... ssh -v IP may give some inputs to proceed....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2007 06:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114970#M726830</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-12-12T06:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114971#M726831</link>
      <description>Gosh,&lt;BR /&gt;Thanks for your bunny.&lt;BR /&gt;&lt;BR /&gt;ssh works fine, so if it ain't broke &lt;BR /&gt;don't fix it. So I am not going too&lt;BR /&gt;install this or that.&lt;BR /&gt;&lt;BR /&gt;Just because there is a side effect that when I open a second ssh session it&lt;BR /&gt;gives that scary message.&lt;BR /&gt;&lt;BR /&gt;What does it mean anyway ???&lt;BR /&gt;And no I did not exchange keys, to me&lt;BR /&gt;it is all transparent. I think ssh genereted&lt;BR /&gt;the key in .ssh subdirectory.&lt;BR /&gt;&lt;BR /&gt;Anyway bit busters, It is hard to evaluate the value of your answers. For me it is a lot of bunny, that buys me noffing realy.&lt;BR /&gt;&lt;BR /&gt;So c'com guys,&lt;BR /&gt;anymore bunny before the hammer strikes,&lt;BR /&gt;auction closed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2007 08:04:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114971#M726831</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2007-12-12T08:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to server is allowed one session but not a second</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114972#M726832</link>
      <description>&lt;!--!*#--&gt;The message about the not found prngd Unix socket has already been answered.&lt;BR /&gt;You really should install the said HP-UX patch that will supply your system with the /dev/random device for amongst other usages to mainly feed ssh clients with enough entropy to accelerate the creation of session keys.&lt;BR /&gt;The point about multi-homed NICs Steven mentioned, although it doesn't seem to apply here, can be solved pretty easily by either using the -b option of the ssh client, or "-o BindAddress=123.123.123.123" with the scp command, if your e.g. SG package's VIP was 123.123.123.123.&lt;BR /&gt;The irritating warning that you receive only wants to inform you that the host key that the remote sshd transmitted didn't hit a match in your ssh client user's ~/.ssh/known_hosts file.&lt;BR /&gt;In most cases this means that the remote host's ssh host key changed, maybe because the remote host's sysadmin installed a new SSH sw package without caring to recover the hopefully a priori backed up host keys.&lt;BR /&gt;However, it can also mean the mentioned MITM attack.&lt;BR /&gt;You have to decide about the trustworthiness anyway, by&lt;BR /&gt;either ignoring that warning at all and supplying these options (bad idea)&lt;BR /&gt;&lt;BR /&gt;$ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -l remote_user [-i ~/.ssh/id_rsa_remote_host] remote_host [remote_cmd]&lt;BR /&gt;&lt;BR /&gt;This will however circumvent host key checking altogether and issue a meaningless "host key added..." message, which you could suppress by additionally supplying the -q option.&lt;BR /&gt;&lt;BR /&gt;Better option was to check and compare both key fingerprints.&lt;BR /&gt;Find another way to access the remote host, or ask the remote host's sysadmin to execute this on your behalf and read the fingerprint over the phone etc.&lt;BR /&gt;&lt;BR /&gt;root@remhost&amp;gt;# ssh-keygen -l -f /etc/opt/ssh/ssh_host_key&lt;BR /&gt;&lt;BR /&gt;Compare the given output with the fingerprint of that host of the key that resides in your ~/.ssh/known_hosts&lt;BR /&gt;&lt;BR /&gt;With recent versions of SSH this could work as well by the ssh-keygen command.&lt;BR /&gt;&lt;BR /&gt;you@client&amp;gt;$ ssh-keygen -l -f ~/.ssh/known_hosts&lt;BR /&gt;&lt;BR /&gt;This can get nasty if the keys are hashed, as in the more recent SSH releases for added security.&lt;BR /&gt;Then you could parse the host key entry for your host by&lt;BR /&gt;&lt;BR /&gt;you@client&amp;gt;$ ssh-keygen -F remote_host -f ~/.ssh/known_hosts&lt;BR /&gt;&lt;BR /&gt;Unfortunately, ssh-keygen isn't willing to read from stdin as it seems.&lt;BR /&gt;So redirect the output of above command to a temporary file, and apply a second ssh-keygen -l command on that file.&lt;BR /&gt;&lt;BR /&gt;Once you have confirmed the validity of the "offending" host key&lt;BR /&gt;then you can either delete the obsolete entry in known_hosts of your client and reconnect.&lt;BR /&gt;Because the deafult -o StrictHostKeyChecking=ask should be prevalent  ssh will ask you for confirmation of the newly displayed fingerprint, whereupon the key will be silently appended to your known_hosts file, and you will never be asked again for host key approval for this particular host until things again go awry.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Dec 2007 12:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-to-server-is-allowed-one-session-but-not-a-second/m-p/4114972#M726832</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-12-12T12:50:04Z</dc:date>
    </item>
  </channel>
</rss>

