Telnet Remote logon to LinuxRHEL prompts that the connection cannot be enabled on port 23. How can this problem be solved?
Source: Internet
Author: User
When remotely logging on to RHEL (RedHatEnterpriseLinux) 4 server via telnet today, the system always prompts that the connection cannot be enabled on port 23. Solution: 1. SystemSettings → SecurityLevel. Open SecurtyLevelConfiguration and check whether Telnet has been selected in FirewallOptions. If not, select. 2. Edit krb5 in/etc/xinetd. d/to remotely log on to RHEL (RedHat Enterprise Linux) 4 server via telnet today, and always prompt that the connection cannot be opened on port 23. Solution:
1. System Settings → Security Level. Enable Securty Level Configuration and check whether Telnet has been selected in Firewall Options. If not, select.
2. Edit the krb5-telnet under/etc/xinetd. d/as follows:
# Description: The authenticated telnet server accepts normal telnet sessions,
# But can also use Kerberos 5 authentication.
Service telnet
{
Flags = REUSE
Socket_type = stream
Wait = no
User = root
Server =/usr/kerberos/sbin/telnetd
Log_on_failure + = USERID
Disable = yes
}
Change disable = yes to disable = no. Save.
3. System Settings → Server Settings → Services, locate xinetd in the service list, and restart.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.