<?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 PermitRootLogin without-password in Secure OS Software for Linux</title>
    <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280878#M646</link>
    <description>Well, thank you all for responding.  The problem seems to have grown to all of our platforms.  So we've postponed the project to gather data and consult with others.&lt;BR /&gt;&lt;BR /&gt;It looks we will be got in a dilemma of old versions of RHEL incompatible with newer version of SSH and just be red flagging them as odd.</description>
    <pubDate>Thu, 05 May 2011 17:50:17 GMT</pubDate>
    <dc:creator>Michael Steele_2</dc:creator>
    <dc:date>2011-05-05T17:50:17Z</dc:date>
    <item>
      <title>ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280870#M638</link>
      <description>Hello buckaroos!  &lt;BR /&gt;&lt;BR /&gt;I have 19 linux servers that refuse to take this change:&lt;BR /&gt;&lt;BR /&gt;PermitRootLogin without-password&lt;BR /&gt;#PermitRootLogin yes&lt;BR /&gt;&lt;BR /&gt;...they don't stop a ssh -l root hostname.&lt;BR /&gt;&lt;BR /&gt;I've attached a file with the following output for each server, maybe one of you guys can see something that I don't.&lt;BR /&gt;&lt;BR /&gt;1st Line: uname -a&lt;BR /&gt;2nd Line: ls -la /etc/ssh/sshd_config&lt;BR /&gt;3rd Line:  ssh -V&lt;BR /&gt;4th Line:  head -1 /etc/ssh/sshd_conifg&lt;BR /&gt;5th Line:  cat /etc/redhat-release | awk....&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!!</description>
      <pubDate>Fri, 29 Apr 2011 18:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280870#M638</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-04-29T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280871#M639</link>
      <description>although a text file people have complained about not being able to upload via Mozilla.  The first attach is mozilla, the 2nd is IE.</description>
      <pubDate>Fri, 29 Apr 2011 18:44:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280871#M639</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-04-29T18:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280872#M640</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] this change:&lt;BR /&gt;&lt;BR /&gt;What was the _change_?  Which file, where?&lt;BR /&gt;Showing "before" and "after" would reveal&lt;BR /&gt;more.&lt;BR /&gt;&lt;BR /&gt;I'll guess.  Did you comment out the line:&lt;BR /&gt;      PermitRootLogin yes&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;These configuration files, as supplied, are&lt;BR /&gt;normally filled with default values, so&lt;BR /&gt;changing&lt;BR /&gt;      PermitRootLogin yes&lt;BR /&gt;to&lt;BR /&gt;      # PermitRootLogin yes&lt;BR /&gt;may be less effective than changing it to&lt;BR /&gt;      PermitRootLogin no&lt;BR /&gt;&lt;BR /&gt;In many installations, comments in the files&lt;BR /&gt;explain this.</description>
      <pubDate>Fri, 29 Apr 2011 19:54:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280872#M640</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-04-29T19:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280873#M641</link>
      <description>If you have SSH keys configured for root on those 19 hosts, and whatever you're connecting from has the appropriate private key available (either directly or via SSH agent forwarding), then of course "PermitRootLogin without-password" will allow you to log in with "ssh -l root hostname". &lt;BR /&gt;&lt;BR /&gt;That's what it means after all ("all authentication methods allowed except password authentication").&lt;BR /&gt;&lt;BR /&gt;Are you thinking about "PermitRootLogin forced-commands-only", perhaps?&lt;BR /&gt;&lt;BR /&gt;Or have you restarted sshd or sent it a "kill -HUP" after making the change?&lt;BR /&gt;&lt;BR /&gt;Or are you confused because it still asks for a password? This is because SSH is designed not to reveal to a potential intruder that trying to log in as root with password authentication is futile: sshd hands over the connection to an Intruder-Time-Waste-o-Mat routine, which requests the password as usual, but even the right password won't be accepted.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 29 Apr 2011 21:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280873#M641</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-04-29T21:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280874#M642</link>
      <description>The way the other 86 linux boxes work is to deny deny root login.&lt;BR /&gt;&lt;BR /&gt;"... has the appropriate private key available ..."&lt;BR /&gt;&lt;BR /&gt;Correct - And taken care of.&lt;BR /&gt;&lt;BR /&gt;".. have you restarted sshd or sent it a "kill -HUP" ..." &lt;BR /&gt;&lt;BR /&gt;- yep - same procedure for 105 boxes - only these 19 fail.</description>
      <pubDate>Fri, 29 Apr 2011 22:56:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280874#M642</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-04-29T22:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280875#M643</link>
      <description>&lt;!--!*#--&gt;This is interesting, but I'm still a little confused.&lt;BR /&gt;Still don't know exactly what you mean by&lt;BR /&gt;  "...they don't stop a ssh -l root hostname."&lt;BR /&gt;Does it produce the hostname output&lt;BR /&gt;or does it ask for a password?&lt;BR /&gt;What behavior exactly are you looking for?&lt;BR /&gt;&lt;BR /&gt;If you have SSH equivalence (shared keys) set up for 'root' between the two servers, then, of course, 'root' would not be queried for a password.&lt;BR /&gt;&lt;BR /&gt;If you have *removed* equivalence, then it will stop and ask for a password.&lt;BR /&gt;Then, if the&lt;BR /&gt;  PermitRootLogin without-password&lt;BR /&gt;is set, then the even correct password should fail.&lt;BR /&gt;&lt;BR /&gt;Are you saying that it *accepts* the correct password and allows you to login (or run the command)?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As a side note, I don't see the point of the &lt;BR /&gt;  PermitRootLogin without-password&lt;BR /&gt;(unless you have more than one root user, which I happen to have. see below.&lt;BR /&gt;)&lt;BR /&gt;If root's are equivalent, then login/command will SUCCEED without asking for pw.&lt;BR /&gt;If they are NOT equivalent, then pw will FAIL, so, in effect, root is denied.&lt;BR /&gt;How does that differ from &lt;BR /&gt;  PermitRootLogin  no&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have two servers "tetty", "kinky",&lt;BR /&gt;both with&lt;BR /&gt;  sshd_config,v 1.59&lt;BR /&gt;&amp;amp; OpenSSH_3.6.1p2&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;I have *TWO* root users on each, 'root' and 'rb'.&lt;BR /&gt;(I do this to leave 'root' user totally alone.&lt;BR /&gt; My 'rb' login is id=0, but he has a different homedir and I can change .profile and other stuff without interfering with the default 'root' account.&lt;BR /&gt;)&lt;BR /&gt;Equivalence is set up for 'root' between "kinky" &amp;amp; "tetty".&lt;BR /&gt;Tetty changed to "without-password" :&lt;BR /&gt;&lt;BR /&gt;tetty ## grep oot /etc/ssh/sshd_config   &lt;BR /&gt;  #PermitRootLogin yes&lt;BR /&gt;  PermitRootLogin without-password&lt;BR /&gt;&lt;BR /&gt;[root@kinky root]# id&lt;BR /&gt;  uid=0(root) gid=0(root) ...&lt;BR /&gt;&lt;BR /&gt;[root@kinky root]# ssh root@tetty hostname&lt;BR /&gt;  tetty&lt;BR /&gt;&lt;BR /&gt;[root@kinky root]# ssh rb@tetty hostname    &lt;BR /&gt;  rb@tetty's password: [correct password entered]&lt;BR /&gt;  Permission denied, please try again.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv&lt;BR /&gt;</description>
      <pubDate>Sun, 01 May 2011 12:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280875#M643</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-01T12:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280876#M644</link>
      <description>Brain fart on my part vis-a-vis "without-password" vs "no".&lt;BR /&gt;&lt;BR /&gt;To wit:&lt;BR /&gt;&lt;BR /&gt;  PermitRootLogin no&lt;BR /&gt;&lt;BR /&gt;denies root all the time, even if keys have been set up for equivalence.&lt;BR /&gt;&lt;BR /&gt;Whereas&lt;BR /&gt;&lt;BR /&gt;  PermitRootLogin without-password&lt;BR /&gt;&lt;BR /&gt;allows root, but *only* if keys are set up, or another form of authentication,'&lt;BR /&gt;but *not* password authentication;&lt;BR /&gt;it will deny even a valid password.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But that doesn't remove our question of what the exact behavior you want and what is actually happening, instead, in those 19 cases :&amp;gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bv</description>
      <pubDate>Wed, 04 May 2011 18:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280876#M644</guid>
      <dc:creator>Bob_Vance</dc:creator>
      <dc:date>2011-05-04T18:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280877#M645</link>
      <description>Bob Vance, I'm looking at your congratulations to Wizard thread as we speak.  And something stopped me before providing my usual rubber stamped "Well Done".  &lt;BR /&gt;&lt;BR /&gt;It was this thread.&lt;BR /&gt;&lt;BR /&gt;And I am very glad you straightened it out.&lt;BR /&gt;&lt;BR /&gt;:-)</description>
      <pubDate>Thu, 05 May 2011 17:47:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280877#M645</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-05-05T17:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280878#M646</link>
      <description>Well, thank you all for responding.  The problem seems to have grown to all of our platforms.  So we've postponed the project to gather data and consult with others.&lt;BR /&gt;&lt;BR /&gt;It looks we will be got in a dilemma of old versions of RHEL incompatible with newer version of SSH and just be red flagging them as odd.</description>
      <pubDate>Thu, 05 May 2011 17:50:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280878#M646</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-05-05T17:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280879#M647</link>
      <description>caught in a delimma, ... :-)</description>
      <pubDate>Thu, 05 May 2011 17:51:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280879#M647</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-05-05T17:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: ssh PermitRootLogin without-password</title>
      <link>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280880#M648</link>
      <description>Update - Apparently we are not even using the standard recommended version released for ssh.  Apparently we inherited servers from a downsized group that had their own modifications and that's the problem.&lt;BR /&gt;&lt;BR /&gt;Thanks you for your assistance.</description>
      <pubDate>Fri, 06 May 2011 17:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/secure-os-software-for-linux/ssh-permitrootlogin-without-password/m-p/5280880#M648</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2011-05-06T17:43:09Z</dc:date>
    </item>
  </channel>
</rss>

