<?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: Disable root login with ssh? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664983#M49306</link>
    <description>I wondering if there is something different about F-Secure's version (that's what you are using if I am correct). I've used openssh and ssh from ssh.org, but never the F-Secure version before. What we worked on should have taken care of the problem in both versions. If you did purchase it, do you have support from F-Secure?&lt;BR /&gt;&lt;BR /&gt;Still willing to try and resolve this thing.&lt;BR /&gt;&lt;BR /&gt;C</description>
    <pubDate>Fri, 15 Feb 2002 14:30:11 GMT</pubDate>
    <dc:creator>Craig Rants</dc:creator>
    <dc:date>2002-02-15T14:30:11Z</dc:date>
    <item>
      <title>Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664971#M49294</link>
      <description>Here's a baffling one. I have two HPUX boxes. I am using ssh2 to connect to them. One the first one I can login as root and on the second I cannot. The question is why? In their /etc/sshd_config files they both have the line&lt;BR /&gt;PermitRootLogin yes&lt;BR /&gt;...so one should be able to login as root to both, no?&lt;BR /&gt;But then /etc/securetty only has the line&lt;BR /&gt;CONSOLE&lt;BR /&gt;&lt;BR /&gt;Are there other files that I need to check to find out why one is properly locked down but the other isn't???</description>
      <pubDate>Thu, 14 Feb 2002 15:16:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664971#M49294</guid>
      <dc:creator>John Clifford_1</dc:creator>
      <dc:date>2002-02-14T15:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664972#M49295</link>
      <description>If the word console is in the /etc/securetty file then root will only be able to login directly from the console.  With this set up, you can log in as a normal user and 'su -' to root, or possibly rlogin to the machine as root.  But from just a telnet or ssh type login root will be disabled.</description>
      <pubDate>Thu, 14 Feb 2002 15:18:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664972#M49295</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-02-14T15:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664973#M49296</link>
      <description>John,&lt;BR /&gt;/etc/securetty only affects items such as rlogin and telnet, ssh is not affected. The /etc/sshd_config the PermitRootLogin option should be no if you don't want root to login. Once that change is made, then kill -HUP `cat /var/run/sshd.pid` and you should be good.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 15:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664973#M49296</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T15:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664974#M49297</link>
      <description>Patrick, I must disagree on this one, I have setup more than 40 servers with securetty and the only entry is console. I still have root level access through secure shell. Just my experience.&lt;BR /&gt;&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 15:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664974#M49297</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T15:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664975#M49298</link>
      <description>I still don't understand how I can NOT log in to the one where PermitRootLogin is set to "yes".</description>
      <pubDate>Thu, 14 Feb 2002 15:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664975#M49298</guid>
      <dc:creator>John Clifford_1</dc:creator>
      <dc:date>2002-02-14T15:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664976#M49299</link>
      <description>Try using ssh -v and evaluate the output. Possibly post your results. Also, on the server you are trying to access, do the kill -HUP, it could be that the change was made to the sshd_config file but the daemon was not told to reread the config file.&lt;BR /&gt;&lt;BR /&gt;Looking forward to your ssh -v output.&lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 15:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664976#M49299</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664977#M49300</link>
      <description>This is what I get when I try to ssh (as root) to the locked down machine:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@ovmngr10 $ ssh -v -l root ovmngr3&lt;BR /&gt;debug: hostname is 'ovmngr3'.&lt;BR /&gt;debug: Unable to open //.ssh2/ssh2_config&lt;BR /&gt;debug: connecting to ovmngr3...&lt;BR /&gt;debug: entering event loop&lt;BR /&gt;debug: ssh_client_wrap: creating transport protocol&lt;BR /&gt;debug: SshAuthMethodClient/sshauthmethodc.c:119: Added "publickey" to usable methods.&lt;BR /&gt;debug: SshAuthMethodClient/sshauthmethodc.c:119: Added "password" to usable methods.&lt;BR /&gt;debug: Ssh2Client/sshclient.c:1142: creating userauth protocol&lt;BR /&gt;debug: Ssh2Common/sshcommon.c:544: local ip = 145.26.100.103, local port = 56889&lt;BR /&gt;debug: Ssh2Common/sshcommon.c:546: remote ip = 145.26.100.101, remote port = 22&lt;BR /&gt;debug: SshConnection/sshconn.c:1866: Wrapping...&lt;BR /&gt;debug: Ssh2Transport/trcommon.c:599: Remote version: SSH-1.99-2.4.0 F-SECURE SSH&lt;BR /&gt;debug: Ssh2Transport/trcommon.c:1124: c_to_s: cipher 3des-cbc, mac hmac-sha1, compression none&lt;BR /&gt;debug: Ssh2Transport/trcommon.c:1127: s_to_c: cipher 3des-cbc, mac hmac-sha1, compression none&lt;BR /&gt;debug: Ssh2Client/sshclient.c:406: Host key found from database.&lt;BR /&gt;debug: Ssh2Common/sshcommon.c:348: Received SSH_CROSS_STARTUP packet from connection protocol.&lt;BR /&gt;debug: Ssh2Common/sshcommon.c:398: Received SSH_CROSS_ALGORITHMS packet from connection protocol.&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:777: adding keyfile "//.ssh2/id_dsa_1024_a" to candidates&lt;BR /&gt;debug: Ssh2AuthPubKeyClient/authc-pubkey.c:777: adding keyfile "//.ssh2/id_dsa_1024_b" to candidates&lt;BR /&gt;debug: Ssh2AuthClient/sshauthc.c:308: Method 'publickey' disabled.&lt;BR /&gt;debug: Ssh2AuthPasswdClient/authc-passwd.c:95: Starting password query...&lt;BR /&gt;root's password:&lt;BR /&gt;debug: Ssh2AuthPasswdClient/authc-passwd.c:95: Starting password query...&lt;BR /&gt;root's password:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see it didn't accept the password that I supplied (which was correct). &lt;BR /&gt;&lt;BR /&gt;On the other machine it's the same except I can log in as root.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2002 15:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664977#M49300</guid>
      <dc:creator>John Clifford_1</dc:creator>
      <dc:date>2002-02-14T15:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664978#M49301</link>
      <description>I didn't see anything out of the ordinary, what about an ssh -v output from the server you can get into? Maybe we can compare the differences and find something there.&lt;BR /&gt;&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 16:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664978#M49301</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T16:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664979#M49302</link>
      <description>The plot thickens, Craig.&lt;BR /&gt;&lt;BR /&gt;On the box I can get into, I set the PermitRootLogins to no in the sshd_config, logged out and can still log in as root!!! Surely I'm missing the plot here.</description>
      <pubDate>Thu, 14 Feb 2002 16:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664979#M49302</guid>
      <dc:creator>John Clifford_1</dc:creator>
      <dc:date>2002-02-14T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664980#M49303</link>
      <description>Did you have the sshd reread the config file? (kill -HUP `cat /var/run/sshd.pid`). Your sshd.pid file may be in a different place, but this is pretty standard.&lt;BR /&gt;&lt;BR /&gt;On the box you can get into, is there a ~root/.shosts file or ~root/.ssh2/authorized_keys file? These things could possibly be bypassing things. Also, what does the IgnoreRootRhosts option say in you /etc/sshd_config file.&lt;BR /&gt;&lt;BR /&gt;C</description>
      <pubDate>Thu, 14 Feb 2002 16:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664980#M49303</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T16:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664981#M49304</link>
      <description>I'm still here John</description>
      <pubDate>Thu, 14 Feb 2002 20:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664981#M49304</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-14T20:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664982#M49305</link>
      <description>Sorry Craig,&lt;BR /&gt;&lt;BR /&gt;There is no .shosts file and the IgnoreRhosts in sshd_config is set to no.&lt;BR /&gt;Also there is no /.ssh2/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Feb 2002 10:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664982#M49305</guid>
      <dc:creator>John Clifford_1</dc:creator>
      <dc:date>2002-02-15T10:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Disable root login with ssh?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664983#M49306</link>
      <description>I wondering if there is something different about F-Secure's version (that's what you are using if I am correct). I've used openssh and ssh from ssh.org, but never the F-Secure version before. What we worked on should have taken care of the problem in both versions. If you did purchase it, do you have support from F-Secure?&lt;BR /&gt;&lt;BR /&gt;Still willing to try and resolve this thing.&lt;BR /&gt;&lt;BR /&gt;C</description>
      <pubDate>Fri, 15 Feb 2002 14:30:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disable-root-login-with-ssh/m-p/2664983#M49306</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-02-15T14:30:11Z</dc:date>
    </item>
  </channel>
</rss>

