<?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 root account can ssh, but can't telnet, why ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362147#M13660</link>
    <description>&lt;BR /&gt;Now I can use ssh to login to Redhat with root account, but when I try to telnet, it failed:&lt;BR /&gt;&lt;BR /&gt;# telnet host1&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to host1&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;Local flow control on&lt;BR /&gt;Telnet TERMINAL-SPEED option ON&lt;BR /&gt;Red Hat Enterprise Linux ES release 3 (Taroon Update 2)&lt;BR /&gt;Kernel 2.4.21-15.0.3.ELsmp on an i686&lt;BR /&gt;login: root&lt;BR /&gt;Password:&lt;BR /&gt;Login incorrect&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have setup telnetd properly.&lt;BR /&gt;And I can login the system with "oracle", both ssh and telnet.&lt;BR /&gt;Why just "root" doesn't work ?&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
    <pubDate>Fri, 20 Aug 2004 12:39:39 GMT</pubDate>
    <dc:creator>yyghp</dc:creator>
    <dc:date>2004-08-20T12:39:39Z</dc:date>
    <item>
      <title>root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362147#M13660</link>
      <description>&lt;BR /&gt;Now I can use ssh to login to Redhat with root account, but when I try to telnet, it failed:&lt;BR /&gt;&lt;BR /&gt;# telnet host1&lt;BR /&gt;Trying...&lt;BR /&gt;Connected to host1&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;Local flow control on&lt;BR /&gt;Telnet TERMINAL-SPEED option ON&lt;BR /&gt;Red Hat Enterprise Linux ES release 3 (Taroon Update 2)&lt;BR /&gt;Kernel 2.4.21-15.0.3.ELsmp on an i686&lt;BR /&gt;login: root&lt;BR /&gt;Password:&lt;BR /&gt;Login incorrect&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have setup telnetd properly.&lt;BR /&gt;And I can login the system with "oracle", both ssh and telnet.&lt;BR /&gt;Why just "root" doesn't work ?&lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Fri, 20 Aug 2004 12:39:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362147#M13660</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2004-08-20T12:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362148#M13661</link>
      <description>Could it be that you have root logins only on the console?&lt;BR /&gt;&lt;BR /&gt;For ssh this config is set through the sshd_config file abd you can say NO to PERMIT ROOT LOGINS&lt;BR /&gt;&lt;BR /&gt;For the telnet, check the /etc/securetty file and see if root logins are on console only.</description>
      <pubDate>Fri, 20 Aug 2004 13:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362148#M13661</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2004-08-20T13:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362149#M13662</link>
      <description>We can deny root login(s) of telnet using /etc/securetty file.&lt;BR /&gt;&lt;BR /&gt; If it contains an entry as,&lt;BR /&gt; &lt;BR /&gt; console&lt;BR /&gt;&lt;BR /&gt; It will deny to login as root on telnet login service.&lt;BR /&gt;&lt;BR /&gt; You can knew it more on login man page.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;+muthu+</description>
      <pubDate>Fri, 20 Aug 2004 23:29:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362149#M13662</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-08-20T23:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362150#M13663</link>
      <description>To add the ability of root's login via telnet simply add lines with &lt;BR /&gt;pts/0&lt;BR /&gt;pts/1&lt;BR /&gt;pst/2&lt;BR /&gt;pts/3&lt;BR /&gt;and so on ...&lt;BR /&gt;untill at least&lt;BR /&gt;pts/20&lt;BR /&gt;&lt;BR /&gt;to /etc/securetty&lt;BR /&gt;&lt;BR /&gt;remember though that this is very unsecure.</description>
      <pubDate>Sat, 21 Aug 2004 08:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362150#M13663</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-08-21T08:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362151#M13664</link>
      <description>as microsoft likes to say "this behaviour is by design" &lt;BR /&gt;&lt;BR /&gt;telnet, as it channels everything through clear, exposes any passwords sent over it to snooping. root password + exposed in clear = very bad things&lt;BR /&gt;&lt;BR /&gt;SSH encrypts everything. so it doesn't have this issue.&lt;BR /&gt;&lt;BR /&gt;i think you'll need to do one of the following:&lt;BR /&gt;&lt;BR /&gt;1) telnet as some other normal user and su (recomended)&lt;BR /&gt;2) do as the last post states and change the secure tty behavior (not recomended).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Aug 2004 12:59:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362151#M13664</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2004-08-21T12:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362152#M13665</link>
      <description>hi..&lt;BR /&gt;&lt;BR /&gt;as everybody mentioned the problem is with /etc/securetty file only. but considering the security factor don't put pseudo terminal types in /etc/securetty file. it is always recomended to login as a normal user and then do a su - (switch user) from there.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;uk</description>
      <pubDate>Sat, 21 Aug 2004 16:24:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362152#M13665</guid>
      <dc:creator>Unnikrishnan</dc:creator>
      <dc:date>2004-08-21T16:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362153#M13666</link>
      <description>to be really honest, suing to root across telnet isn't much better, as the password still  goes over clear. &lt;BR /&gt;&lt;BR /&gt;if this is an internet facing host, using telnet is asking to be hacked. &lt;BR /&gt;&lt;BR /&gt;most versions of redhat (and all other secure by default systems) ship with telnet disabled. SSH is MUCH MUCH (repeat, ad infinitum) MUCH better.&lt;BR /&gt;&lt;BR /&gt;infact, most secure by default installs don't even trust the TTYs, as they're unencypted and can be snooped also.</description>
      <pubDate>Sun, 22 Aug 2004 12:19:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362153#M13666</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2004-08-22T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362154#M13667</link>
      <description>I suppose most of you guys answered the question already. Ya, Redhat or Fedora or I suppose most of the other distro as well , disabled root login by telnet. Most ppl would have done su - after telnet with another username which is against the whole idea of preventing root telnet in the first place. So , I would suggest you just stick with ssh, since it's more "reliable". : )</description>
      <pubDate>Fri, 27 Aug 2004 00:15:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362154#M13667</guid>
      <dc:creator>Lee Thoong Ching</dc:creator>
      <dc:date>2004-08-27T00:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362155#M13668</link>
      <description>If you wish to disable pts/ssh root access you will need to modify your sshd_config file and add the following:&lt;BR /&gt;&lt;BR /&gt;Securing SSH&lt;BR /&gt;In the /etc/ssh/sshd_config file change the following lines (if it is commented out, remove&lt;BR /&gt;the #):&lt;BR /&gt;Protocol 2&lt;BR /&gt;PermitRootLogin no&lt;BR /&gt;PermitEmptyPasswords no&lt;BR /&gt;Reboot your system (you installed a new kernel when you updated the installation, and&lt;BR /&gt;changed the SSH config, so a reboot is necessary).&lt;BR /&gt;&lt;BR /&gt;By default Linux does have a /etc/securetty file, if this file exist root cannot telnet, if the file exists telnet is allowed: &lt;BR /&gt;&lt;BR /&gt;I don't recommend connection via root either way, especially if system is exposed to the world. SSH can be root compromised, as can telnet. Why risk it? &lt;BR /&gt;&lt;BR /&gt;If you must use root, be on the console OR &lt;BR /&gt;su - &lt;BR /&gt;It's plain lazy to not do that. And can jeopardize your livelihood.</description>
      <pubDate>Tue, 21 Sep 2004 11:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362155#M13668</guid>
      <dc:creator>rmueller58</dc:creator>
      <dc:date>2004-09-21T11:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362156#M13669</link>
      <description>Openning up root telnet is a security problem.&lt;BR /&gt;&lt;BR /&gt;Not disabling root ssh is not. Secure Shell transmits passwords in encrypted format. If they are sniffed they are useless to whoever gets them.&lt;BR /&gt;&lt;BR /&gt;For more security you can exchange public keys with the document I'm attaching as a courtesy.&lt;BR /&gt;&lt;BR /&gt;The bottom line is root needs shell access between systems. It is not laziness to allow that.&lt;BR /&gt;&lt;BR /&gt;I suggest if the author doesn't want this thread popped to the top again since its obviously got a solution in it that he or she close it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 21 Sep 2004 15:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362156#M13669</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-21T15:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362157#M13670</link>
      <description>doc&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Sep 2004 15:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362157#M13670</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-09-21T15:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: root account can ssh, but can't telnet, why ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362158#M13671</link>
      <description>You just have to do the following:&lt;BR /&gt;&lt;BR /&gt;1) # mv /etc/securetty /etc/securetty.ORIG&lt;BR /&gt;2) In file /etc/xinetd.d/krb5-telnet&lt;BR /&gt;replace disable = yes with disable = no&lt;BR /&gt;&lt;BR /&gt;3) And than reload xinetd on command prompt:&lt;BR /&gt;   # service xinetd reload&lt;BR /&gt;&lt;BR /&gt;I hope this will help!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergej</description>
      <pubDate>Thu, 07 Oct 2004 01:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/root-account-can-ssh-but-can-t-telnet-why/m-p/3362158#M13671</guid>
      <dc:creator>Sergej_5</dc:creator>
      <dc:date>2004-10-07T01:46:08Z</dc:date>
    </item>
  </channel>
</rss>

