<?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 - HP11.11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856217#M482307</link>
    <description>&lt;P&gt;First, read the syslog of the system that disallows passwordless login. If there is a file permission problem, the message should tell which file/directory has permissions sshd does not like. Usually, the problem is that there are too much permissions: if another user could overwrite the authorized_keys file, then sshd won't trust the file and disallows key-based authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check all of these things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the sshd_config file (/opt/ssh/etc/sshd_config): it may contain non-default options that disallow logging as root&lt;/LI&gt;&lt;LI&gt;ownership and permissions of the /.ssh/authorized_keys file (should be owned by root and writable &lt;STRONG&gt;only&lt;/STRONG&gt; by root, i.e. -rw-r--r-- is the maximum useable permissions)&lt;/LI&gt;&lt;LI&gt;ownership and permissions of the /.ssh directory (should be accessible by root only, i.e. permissions drwx------)&lt;/LI&gt;&lt;LI&gt;ownership and permissions of the / directory (run "ll -d /"): it should not be writeable by anyone other than root. Sometimes a typo in a chmod command may cause accidental changes to the permissions of the root directory. The correct permissions are drwxr-xr-x, owner root, group root.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Mon, 05 Nov 2012 14:46:29 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2012-11-05T14:46:29Z</dc:date>
    <item>
      <title>ssh - HP11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856109#M482305</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have four HP11.11 boxes in the UK that are using ssh connection to a box in Germany. Three of them can connect using root and not needing a password for the other end but one of them seems to want to have a password. The release of ssh is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OpenSSH_4.7p1+sftpfilecontrol-v1.2-hpn12v17, OpenSSL 0.9.7m 23 Feb 2007&lt;BR /&gt;HP-UX Secure Shell-A.04.70.009, HP-UX Secure Shell version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is the correct connection on three servers:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ssh &lt;A href="mailto:user-id@other-server" target="_blank"&gt;user-id@other-server&lt;/A&gt; uptime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USE AND ACCESS TO THIS SYSTEM IS RESTRICTED TO AUTHORIZED USERS ONLY!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Authentication successful.&lt;BR /&gt;&amp;nbsp;12:37pm&amp;nbsp; up 29 days,&amp;nbsp; 7:09,&amp;nbsp; 1 user,&amp;nbsp; load average: 0.08, 0.08, 0.09&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is the incorrect connection on one server:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# ssh&amp;nbsp;&lt;A href="mailto:user-id@other-server" target="_blank"&gt;user-id@other-server&lt;/A&gt; uptime&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USE AND ACCESS TO THIS SYSTEM IS RESTRICTED TO AUTHORIZED USERS ONLY!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;user-id's password:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is different between the three servers that work and the one that doesn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards - Mark P.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 12:53:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856109#M482305</guid>
      <dc:creator>Mark Parsons</dc:creator>
      <dc:date>2012-11-05T12:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: ssh - HP11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856163#M482306</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the 4th server seems tot to be authorized to access the german server.&lt;/P&gt;&lt;P&gt;What about the ~/.ssh/authorizes_keys of the destination user on the german server.&lt;/P&gt;&lt;P&gt;You even might have a serverwide authentification in place. Loot kbeneath /etc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 13:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856163#M482306</guid>
      <dc:creator>Ralf Seefeldt</dc:creator>
      <dc:date>2012-11-05T13:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: ssh - HP11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856217#M482307</link>
      <description>&lt;P&gt;First, read the syslog of the system that disallows passwordless login. If there is a file permission problem, the message should tell which file/directory has permissions sshd does not like. Usually, the problem is that there are too much permissions: if another user could overwrite the authorized_keys file, then sshd won't trust the file and disallows key-based authentication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check all of these things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the sshd_config file (/opt/ssh/etc/sshd_config): it may contain non-default options that disallow logging as root&lt;/LI&gt;&lt;LI&gt;ownership and permissions of the /.ssh/authorized_keys file (should be owned by root and writable &lt;STRONG&gt;only&lt;/STRONG&gt; by root, i.e. -rw-r--r-- is the maximum useable permissions)&lt;/LI&gt;&lt;LI&gt;ownership and permissions of the /.ssh directory (should be accessible by root only, i.e. permissions drwx------)&lt;/LI&gt;&lt;LI&gt;ownership and permissions of the / directory (run "ll -d /"): it should not be writeable by anyone other than root. Sometimes a typo in a chmod command may cause accidental changes to the permissions of the root directory. The correct permissions are drwxr-xr-x, owner root, group root.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 05 Nov 2012 14:46:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856217#M482307</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2012-11-05T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: ssh - HP11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856593#M482313</link>
      <description>&lt;P&gt;Have you tried ssh -vvv to see if the debug info help you tell where the bad and good ones diverge?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2012 21:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-hp11-11/m-p/5856593#M482313</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-11-05T21:01:27Z</dc:date>
    </item>
  </channel>
</rss>

