<?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 wants passwd in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950270#M413441</link>
    <description>Thanks BL!  the system is not trusted but the user password was * for some reason.&lt;BR /&gt;It is now working!</description>
    <pubDate>Thu, 05 Jan 2006 12:58:05 GMT</pubDate>
    <dc:creator>Debbie Smith</dc:creator>
    <dc:date>2006-01-05T12:58:05Z</dc:date>
    <item>
      <title>ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950263#M413434</link>
      <description>I am using Secure_Shell 3.81.002 on hpux lli &lt;BR /&gt;on both systems. ssh is not working for one&lt;BR /&gt;user only but works fine for all others.&lt;BR /&gt;&lt;BR /&gt;this is the output from ssh -v&lt;BR /&gt;OpenSSH_3.8, OpenSSL 0.9.7d 17 Mar 2004&lt;BR /&gt;HP-UX_Secure_Shell-A.03.81.002, HP_UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to shm3ts1 [15.1.27.77] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /home/ops/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /home/ops/.ssh/id_dsa type 2&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8&lt;BR /&gt;debug1: match: OpenSSH_3.8 pat OpenSSH*&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_3.8&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'shm3ts1' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /home/ops/.ssh/known_hosts:42&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /home/ops/.ssh/id_rsa&lt;BR /&gt;debug1: Server accepts key: pkalg ssh-rsa blen 149&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Offering public key: /home/ops/.ssh/id_dsa&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;Password: &lt;BR /&gt;&lt;BR /&gt;I am not using dsa only rsa. I tried removing .ssh directory and did ssh-keygen -t rsa and using the defaults but am still having the same problem. Upgrading is not an option at this time.</description>
      <pubDate>Wed, 04 Jan 2006 18:46:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950263#M413434</guid>
      <dc:creator>Debbie Smith</dc:creator>
      <dc:date>2006-01-04T18:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950264#M413435</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Check /var/adm/syslog/syslog.log; that will usually tell you why it blew off the key.  Also, check permissions on ~ops/.ssh - it must be 700.  Also check permissions on ~ops/.ssh/authorized_keys; that shouldn't allow write access to anyone other than the owner.&lt;BR /&gt;&lt;BR /&gt;If all those check out, I'm leaning towards a server config.  Your debug output seems to suggest that it read the ssh key and accepted it.  &lt;BR /&gt;&lt;BR /&gt;Ensure these two options are set to yes:&lt;BR /&gt;&lt;BR /&gt;RSAAuthentication yes&lt;BR /&gt;PubkeyAuthentication yes&lt;BR /&gt;&lt;BR /&gt;Checking those things should give you something to go on...&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Wed, 04 Jan 2006 19:35:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950264#M413435</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2006-01-04T19:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950265#M413436</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You've recreated the .ssh/ and the require contents and also entered the passphrase as well? Or are you using an empty passhrase, thus not require user interaction?&lt;BR /&gt;&lt;BR /&gt;If you can elaborate the ssh setup it might help.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jov</description>
      <pubDate>Wed, 04 Jan 2006 23:07:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950265#M413436</guid>
      <dc:creator>Jov</dc:creator>
      <dc:date>2006-01-04T23:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950266#M413437</link>
      <description>Looking at ssh -v output, makes me think that it is working. It is just asking for the password.&lt;BR /&gt;&lt;BR /&gt;Is that the case??? If not, post following.&lt;BR /&gt;&lt;BR /&gt;ssh -vvv "server_name" - From client&lt;BR /&gt;&lt;BR /&gt;sshd -ddd - From server</description>
      <pubDate>Wed, 04 Jan 2006 23:12:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950266#M413437</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2006-01-04T23:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950267#M413438</link>
      <description>Silly question,&lt;BR /&gt;have you checked your /opt/ssh/etc/sshd_config that it actually would accept .shosts files?&lt;BR /&gt;As you can see from man sshd_config the default if not explicitly set is for obvious security reasons to disable HostBasedAuthentication and especially assumes IgnoreRhosts being set to yes.&lt;BR /&gt;If that's the case chage those to directives accordingly and issue&lt;BR /&gt; &lt;BR /&gt;# kill -1 $(cat /var/run/sshd.pid)&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 03:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950267#M413438</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2006-01-05T03:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950268#M413439</link>
      <description>Here are some answers to your questions:&lt;BR /&gt;For the ssh-keygen setup no entries only &lt;CR&gt;&lt;BR /&gt;Was working before and with no changes to the system â   &lt;BR /&gt;  stopped just for this one user.&lt;BR /&gt;&lt;BR /&gt;It looks like to me that it wants the dsa authentication&lt;BR /&gt;  which I am not using and never was using, just the&lt;BR /&gt;  rsa &lt;BR /&gt;&lt;BR /&gt;The same server user can ssh to other users on the same client&lt;BR /&gt;and it is only requesting the rsa authentication:  (meaning it works correctly)&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /home/bv/.ssh/id_rsa&lt;BR /&gt;debug1: Server accepts key: pkalg ssh-rsa blen 149&lt;BR /&gt;debug1: read PEM private key done: type RSA&lt;BR /&gt;debug1: Authentication succeeded (publickey).&lt;BR /&gt;debug1: channel 0: new [client-session]&lt;BR /&gt;debug1: Entering interactive session.&lt;BR /&gt;&lt;BR /&gt;Here is the client syslog.log:&lt;BR /&gt;Jan  5 08:29:17 shm3ts1 sshd[12115]: error: PAM: Authentication failed for bv from shs1xx&lt;BR /&gt;Jan  5 08:29:17 shm3ts1 sshd[12115]: Failed keyboard-interactive/pam for bv from 15.1.xx.xx port 54694 ssh2&lt;BR /&gt;Jan  5 08:29:17 shm3ts1 sshd[12115]: Failed password for bv from 15.1.xx.xx port 54694 ssh2&lt;BR /&gt;Jan  5 08:29:17 shm3ts1 sshd[12115]: error: PAM: Authentication failed for bv from shs1xx&lt;BR /&gt;Jan  5 08:29:25 shm3ts1  above message repeats 2 times&lt;BR /&gt;Jan  5 08:29:17 shm3ts1 sshd[12115]: Failed keyboard-interactive/pam for bv from 15.1.xx.xx port 54694 ssh2&lt;BR /&gt;Jan  5 08:29:19 shm3ts1 sshd[12115]: Failed password for bv from 15.1.xx.xx port 54694 ssh2&lt;BR /&gt;Jan  5 08:29:25 shm3ts1  above message repeats 2 times&lt;BR /&gt;&lt;BR /&gt;I guess I am confused why is it asking for the dsa authentication for this one user only.&lt;BR /&gt;The permissions are 700 on .ssh and 600 authorized_keys, also tried 644 on authorized_keys.&lt;BR /&gt;&lt;/CR&gt;</description>
      <pubDate>Thu, 05 Jan 2006 11:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950268#M413439</guid>
      <dc:creator>Debbie Smith</dc:creator>
      <dc:date>2006-01-05T11:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950269#M413440</link>
      <description>I am sure that you are getting a password prompt for this user . Please check the user account status on the remote server .&lt;BR /&gt;&lt;BR /&gt;If the remote is trusted , check the account status using /usr/lbin/getprpw user_name .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thx,&lt;BR /&gt;bl.</description>
      <pubDate>Thu, 05 Jan 2006 12:06:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950269#M413440</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2006-01-05T12:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh wants passwd</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950270#M413441</link>
      <description>Thanks BL!  the system is not trusted but the user password was * for some reason.&lt;BR /&gt;It is now working!</description>
      <pubDate>Thu, 05 Jan 2006 12:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-wants-passwd/m-p/4950270#M413441</guid>
      <dc:creator>Debbie Smith</dc:creator>
      <dc:date>2006-01-05T12:58:05Z</dc:date>
    </item>
  </channel>
</rss>

