Enable the telnet service in Linux and use the secure CRT virtual terminal to log on

Source: Internet
Author: User

Enable the telnet server in Linux and use the secure CRT virtual terminal

 

Is rpm-Qa Telnet inserted into the telnet service in

Rpm-Qa telnet-Server

Rpm-IVH xinetd-*. i386.rpm
Rpm-IVH telnet-server *. i386.rpm

This will report an error. You need to install xinetd first.

Rpm-IVH xineted *. i386.rpm

Install rpm-IVH telnet-server *. i386.rpm

Modify the telnet service configurationFile
VI/etc/xinetd. d/telnet
Service telnet
{
Disable = Yes
Flags = Reuse
Socket_type = stream
Wait = No
User = root
Server =/usr/sbin/in. telnetd
Log_on_failure + = userid
}

Add "#" to the front of the disable = Yes line, or change it to "Disable = No ".

Enable the daemon xinetd service xinetd restart

 

Start Telent

 

Set firewall

Set setlinuxVI/etc/sysconfig/SELinux disable local policy applications

Setlinux = disabled

Close the firewall later

Chkconfig iptables off

 

You can also use the setup command to configure

 

Using securecrt test, Telnet fails, and it is found that the VM and the local machine are not in the same LAN

 

It is better to set the local and virtual machines in the same network

Open VMware software, choose VM-> Settings, select the NIC to view its properties, and set network connection to custom: special Virtual Network -- vmnet8 (NAT ). OK. Start the RedHat Linux 9 system. At this time, we need to set the IP address of the virtual system to the same network segment (here I am 192.168.65.0, you may be different, this is an IP address automatically specified by VMware ).

 

The RedHat IP address is set to dynamic acquisition, and the IP address of the same network segment as vmnet is automatically set

 

 

It is best to test securecrt and you can log on.

 

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.