<?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: Differences between SSH versions on HP-UX 11iv2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166367#M732437</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Though you confirmed not the permission issue, did any chance the SSH version changed the existing permissions?&lt;BR /&gt;&lt;BR /&gt;Could you verify the following permissions?&lt;BR /&gt;&lt;BR /&gt;Home directory should have 755 permission (users home directory)&lt;BR /&gt;$HOME/.ssh directory should have 700 permission&lt;BR /&gt;$HOME/.ssh/authorized_keys file should have 600 permission&lt;BR /&gt;</description>
    <pubDate>Thu, 26 Mar 2009 13:18:16 GMT</pubDate>
    <dc:creator>Ganesan R</dc:creator>
    <dc:date>2009-03-26T13:18:16Z</dc:date>
    <item>
      <title>Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166366#M732436</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I've seen several threads similar to this, but nothing addressing this specifically.&lt;BR /&gt;&lt;BR /&gt;We have an HP-UX 11.23 server which serves as a jump server to other HP-UX servers.   This server runs Tectia SSH:&lt;BR /&gt;&lt;BR /&gt;server_a# ssh -V&lt;BR /&gt;&lt;BR /&gt;ssh: SSH Tectia Server 4.1.0 on &lt;BR /&gt;Build: 34&lt;BR /&gt;Released 2004-06-07 (YYYY-MM-DD).&lt;BR /&gt;Crypto library version: SSH Cryptographic Library, version 1.2.4&lt;BR /&gt;FIPS certification mode: DISABLED&lt;BR /&gt;Product: SSH Tectia Server&lt;BR /&gt;&lt;BR /&gt;This server CAN ssh without password to other servers in the environment which are running this version of SSH:&lt;BR /&gt;&lt;BR /&gt;server_b# ssh -V&lt;BR /&gt;&lt;BR /&gt;OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006&lt;BR /&gt;HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;and works on this version:&lt;BR /&gt;server_d# ssh -V&lt;BR /&gt;OpenSSH_4.4p1-hpn12v11, OpenSSL 0.9.7l 28 Sep 2006&lt;BR /&gt;HP-UX Secure Shell-A.04.40.007, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;but it can NOT ssh without password to servers running this version:&lt;BR /&gt;&lt;BR /&gt;server_c# ssh -V&lt;BR /&gt;&lt;BR /&gt;OpenSSH_5.0p1+sftpfilecontrol-v1.2-hpn13v1, OpenSSL 0.9.7m 23 Feb 2007&lt;BR /&gt;HP-UX Secure Shell-A.05.00.022, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;What we see when we ssh from server_a to server_c is the following: (using ssh -vvv server_c)&lt;BR /&gt;&lt;BR /&gt;debug: server offers auth methods 'publickey,password,keyboard-interactive'.&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1766: Starting pubkey auth...&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1722: Agent is not running.&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1513: Got 0 keys from the agent.&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1293: Trying to add external certificate, key count = 0.&lt;BR /&gt;debug: SshUnixUserFiles/sshunixuserfiles.c:366: Using '/.ssh2/identification' as identity file.&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1634: adding keyfile "/.ssh2/admin" to candidates&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1634: adding keyfile "/.ssh2/admin_openssh" to candidates&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1493: Trying 2 key candidates.&lt;BR /&gt;debug: server offers auth methods 'publickey,password,keyboard-interactive'.&lt;BR /&gt;debug: server offers auth methods 'publickey,password,keyboard-interactive'.&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:876: All keys declined by server, disabling method.&lt;BR /&gt;debug: SshProtoAuthClient/sshauthc.c:317: Method 'publickey' disabled.&lt;BR /&gt;debug: server offers auth methods 'publickey,password,keyboard-interactive'.&lt;BR /&gt;debug: Ssh2AuthPasswdClient/authc-passwd.c:247: Starting password query...&lt;BR /&gt;root's password:&lt;BR /&gt;&lt;BR /&gt;Nothing has changed with server_a or server_b.   We use the same keys to distribute to other servers to enable "trusted root", and it has worked great until we got the release of SSH that server_c is using.   I don't think it is a permissions problem as the perms are the same on the working and non-working.&lt;BR /&gt;&lt;BR /&gt;Has anyone else experienced this situation?  If so, what advice can you give on this?&lt;BR /&gt;&lt;BR /&gt;Thanks, and best regards,&lt;BR /&gt;&lt;BR /&gt;Jamie&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Mar 2009 13:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166366#M732436</guid>
      <dc:creator>Jamie A Dennis</dc:creator>
      <dc:date>2009-03-26T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166367#M732437</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Though you confirmed not the permission issue, did any chance the SSH version changed the existing permissions?&lt;BR /&gt;&lt;BR /&gt;Could you verify the following permissions?&lt;BR /&gt;&lt;BR /&gt;Home directory should have 755 permission (users home directory)&lt;BR /&gt;$HOME/.ssh directory should have 700 permission&lt;BR /&gt;$HOME/.ssh/authorized_keys file should have 600 permission&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Mar 2009 13:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166367#M732437</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-26T13:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166368#M732438</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;These problems are typically ownership/permission issues on the configuration files in .ssh directory or the directory itself.&lt;BR /&gt;&lt;BR /&gt;The following document contains the information you need to correct this:&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have never used the third party server you also tried, because openssh (HP calls it secure shell) has always worked just fine for me.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Mar 2009 13:23:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166368#M732438</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-26T13:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166369#M732439</link>
      <description>As I mentioned in my post, the permissions are the same on both the working and non-working servers, so I don't think this is a permissions issue.   I believe it to be a problem with ssh version : HP-UX Secure Shell-A.05.00.022, HP-UX Secure Shell version.   All servers which are having this issue are using this version, all others are working fine.</description>
      <pubDate>Thu, 26 Mar 2009 13:32:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166369#M732439</guid>
      <dc:creator>Jamie A Dennis</dc:creator>
      <dc:date>2009-03-26T13:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166370#M732440</link>
      <description>Check sshd_config files for the key authentication methods. See in log: &lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:876: All keys declined by server, disabling method.&lt;BR /&gt;debug: SshProtoAuthClient/sshauthc.c:317: Method 'publickey' disabled.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 26 Mar 2009 13:38:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166370#M732440</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2009-03-26T13:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166371#M732441</link>
      <description>And see this in the release notes here - &lt;A href="http://docs.hp.com/en/T1471-90032/ch01s06.html" target="_blank"&gt;http://docs.hp.com/en/T1471-90032/ch01s06.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HP-UX Secure Shell user authentication using public-key fails in a server environment if UsePAM is set to YES and pam.conf is set to PAM_LDAP.&lt;BR /&gt;&lt;BR /&gt;Workaround: HP recommends the PAM_AUTHZ mechanism for HP-UX Secure Shell environments that use public-key authentication with PAM_LDAP-based account management.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Mar 2009 13:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166371#M732441</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2009-03-26T13:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166372#M732442</link>
      <description>Ok, I sit corrected.   Ganesan, you had the right solution, and Stephen, you were correct as well. &lt;BR /&gt;&lt;BR /&gt;My apologies for doubting the solution.  I was so focused on the .ssh2 directory permissions and the files themselves that I overlooked item 1 on your list.&lt;BR /&gt;&lt;BR /&gt;1. Home directory should have 755 permission (users home directory)&lt;BR /&gt;2. $HOME/.ssh directory should have 700 permission&lt;BR /&gt;3. $HOME/.ssh/authorized_keys file should have 600 permission&lt;BR /&gt;&lt;BR /&gt;The KEY item in your solution was the users home directory.   I changed it to 755 (with NO other changes) and ssh worked from my jump server to server_c.  I changed the perms back to 775, it failed.&lt;BR /&gt;&lt;BR /&gt;I'm a little puzzled as to why that item is the key to the entire solution, especially when you can see in the debug that it adds the files to the list of candidates, but then fails due to permissions on the users home directory.  But what the heck, a solution is a solution.</description>
      <pubDate>Thu, 26 Mar 2009 17:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166372#M732442</guid>
      <dc:creator>Jamie A Dennis</dc:creator>
      <dc:date>2009-03-26T17:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between SSH versions on HP-UX 11iv2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166373#M732443</link>
      <description>Thanks to all who answered this thread.  Cheers!</description>
      <pubDate>Thu, 26 Mar 2009 17:41:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/differences-between-ssh-versions-on-hp-ux-11iv2/m-p/5166373#M732443</guid>
      <dc:creator>Jamie A Dennis</dc:creator>
      <dc:date>2009-03-26T17:41:59Z</dc:date>
    </item>
  </channel>
</rss>

