How to configure Telnet Server in Redhat Linux part 1


hello guys today we will discuss about telnet .telnet is a remote login process .if we used telnet then we will login any system or server  in remotely. Here i show you how to configure telnet in Redhat Linux  .And how to access in windows so now we will start you just follow simple steps

Step 1 – before we install telnet package through yum server if you want to know how to                               configure yum in linux so please click on link and look  .so here i accept you configure yum in Linux .

telnet

Step 2 .we will install telnet package through this commands #yum install telnet* 

[root@localhost ~]# yum install telnet*

Loaded plugins: rhnplugin, security
Repository 'a' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
a                                                                                      | 1.3 kB     00:00
Setting up Install Process
Package 1:telnet-server-0.17-39.el5.i386 already installed and latest version
Package 1:telnet-0.17-39.el5.i386 already installed and latest version
Nothing to do
[root@localhost ~]# yum remove telnet
Loaded plugins: rhnplugin, security
[root@localhost ~]# yum install *telnet
Loaded plugins: rhnplugin, security
Repository 'a' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package telnet.i386 1:0.17-39.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==============================================================================================================
 Package                  Arch                   Version                            Repository           Size
==============================================================================================================
Installing:
 telnet                   i386                   1:0.17-39.el5                      a                    57 k
Transaction Summary
==============================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 57 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : telnet                                                                                 1/1
Installed:
  telnet.i386 1:0.17-39.el5
Complete!
[root@localhost ~]#

Step 3- then we will go to telnet configuration file  and change something setting
[root@localhost ~]# vim /etc/xinetd.d/telnet

service telnet
{
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = yes
}
~`
~
~
~

Step 4 -here we look Disable is yes no we do change here .we will write no like this

Here we will go to insert mod through  i ( when we will press( i )

service telnet
{
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = no
}
~
~
~
~:wq

save  just file :wq (pres Esc :wq) 

Step 5 – now we will start telnet service belong this commands

[root@localhost ~]# service xinetd restart


Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
[root@localhost ~]#

Step 5 now we will off our linux firewall through this commands

[root@localhost ~]# iptables -F
[root@localhost ~]# setenforce 0

Step 6 here we should telnet user so we create one user for telnet

[root@localhost ~]# useradd joon
[root@localhost ~]# passwd joon
Changing password for user joon.
New UNIX password:12345
BAD PASSWORD: it is too short
Retype new UNIX password:5 1234
passwd: all authentication tokens updated successfully.

Step 7 now our telnet is complete . then we will  go our windows system and on telnet Clint feature

control panel > programs >turn  windows features  on or offTelnet Client

when we click on turn  windows features  on or off then  features windows in open we will select Telnet clits and click

Step 7 now open pur windows commands prompt and just type linux ip address .we can look our linux ip address through  #ifconfig 

step 8 – we type below commands in windows commands prompts

telnet 192.168.0.101       (this is mu linux ip address )

username:  joon

password: 12345

 

Advertisements

2 thoughts on “How to configure Telnet Server in Redhat Linux part 1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s