{"id":535,"date":"2017-01-20T17:15:47","date_gmt":"2017-01-20T17:15:47","guid":{"rendered":"https:\/\/visworlditsolution.wordpress.com\/?p=535"},"modified":"2017-01-20T17:15:47","modified_gmt":"2017-01-20T17:15:47","slug":"how-to-configure-stelnet-in-redhat-linux-server","status":"publish","type":"post","link":"https:\/\/linux.thingsomething.com\/index.php\/2017\/01\/20\/how-to-configure-stelnet-in-redhat-linux-server\/","title":{"rendered":"How to configure Stelnet in redhat linux server"},"content":{"rendered":"<p>hello guys today we will discuss about secure telnet Server. basically secure telnet is a custom telnet its same copy of telnet server but here we will configure with our customize port.If you \u00a0want to know<a href=\"https:\/\/visworlditsolution.wordpress.com\/2017\/01\/09\/how-to-configure-telnet-server-in-redhat-linux-part-1\/\"> how to configure simple telnet server<\/a> so click on link. before we telnet package in our linux machine. if we want we can install every type package easily \u00a0so \u00a0we need \u00a0to<a href=\"https:\/\/visworlditsolution.wordpress.com\/2016\/12\/26\/what-is-yum-and-how-to-create-in-redhat-linux-server\/\"> Yum server configuration<\/a>\u00a0you just click on link and look how to configure yum.\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-533\" src=\"https:\/\/visworlditsolution.files.wordpress.com\/2017\/01\/telnet-is-not-secure.png?w=300\" alt=\"Stelnet Server\" width=\"750\" height=\"312\" \/><\/p>\n<p>Here I agree that you have configured YUM server in your machine<\/p>\n<h3>For any Tutorial visit linuxtiwary.com<\/h3>\n<p><!--more--><\/p>\n<p>then let we start<\/p>\n<h3><span style=\"color:#ff0000;\"><strong>Step1 we will install telnet package below commands\u00a0<\/strong><\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# yum install telnet*<\/strong><\/span><\/pre>\n<h3><span style=\"color:#ff0000;\">Step2 then we will go<span style=\"color:#0000ff;\"> Xinetd<\/span> configuration file and look if we found<span style=\"color:#0000ff;\"> disable is =no so we will do yes .\u00a0we will open Xinetd file below commands\u00a0<\/span><\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# vim \/etc\/xinetd.d\/telnet<\/strong><\/span>\n<span style=\"color:#00ccff;\">service telnet\n{\n        flags           = REUSE\n        socket_type     = stream\n        wait            = no\n        user            = root\n        server          = \/usr\/sbin\/in.telnetd\n        log_on_failure  += USERID\n       <span style=\"color:#008000;\"><strong> disable         = yes<\/strong><\/span>\n}\n~\n~\n~\n~\n<span style=\"color:#008000;\"><strong>:wq<\/strong><\/span><\/span><\/pre>\n<h3><span style=\"color:#ff0000;\"><strong>Step3 After configuration we are doing copy telnet file\u00a0<\/strong><\/span><\/h3>\n<pre><strong>[root@localhost ~]# cp \/etc\/xinetd.d\/telnet \/etc\/xinetd.d\/stelnet<\/strong><\/pre>\n<h3><strong><span style=\"color:#ff0000;\">Strp4 \u00a0now we are going to \/etc\/services file and create\u00a0customize port \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span><\/strong><span style=\"color:#008000;\"><strong>stelnet \u00a0 \u00a0 \u00a0 \u00a0 8888\/tcp \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0#secure telnet \u00a0<\/strong><\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# vim \/etc\/services<\/strong><\/span>\n  <span style=\"color:#3366ff;\">20 # service-name  port\/protocol  [aliases ...]   [# comment]\n <span style=\"color:#ff0000;\"><strong> 21 stelnet         8888\/tcp                        #secure telnet<\/strong><\/span>\n  22 tcpmux          1\/tcp                           # TCP port service multiplexer\n  23 tcpmux          1\/udp                           # TCP port service multiplexer\n  24 rje             5\/tcp                           # Remote Job Entry\n  25 rje             5\/udp                           # Remote Job Entry\n  26 echo            7\/tcp\n  27 echo            7\/udp\n  28 discard         9\/tcp           sink null\n  29 discard         9\/udp           sink null\n  30 systat          11\/tcp          users\n  31 systat          11\/udp          users\n~\n~\n~\n<strong><span style=\"color:#008000;\">:wq<\/span><\/strong><\/span><\/pre>\n<h3><strong><span style=\"color:#ff0000;\">Strp4 \u00a0now we are going to stelnet \u00a0configuration file. then we will \u00a0 write\u00a0customize port 8888\u00a0\u00a0and disable=no\u00a0<\/span><\/strong><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# vim \/etc\/xinetd.d\/stelnet<\/strong><\/span>\n<span style=\"color:#33cccc;\">service<span style=\"color:#008000;\"><strong> stelnet<\/strong><\/span>\n{\n        flags           = REUSE\n        socket_type     = stream\n        wait            = no\n        user            = root\n        server          = \/usr\/sbin\/in.telnetd\n        log_on_failure  += USERID\n        disable        <strong><span style=\"color:#008000;\"> = no<\/span>\n       <span style=\"color:#008000;\"> port            =8888<\/span><\/strong>\n}\n~\n~\n:wq<\/span><\/pre>\n<h3><span style=\"color:#ff0000;\">Step6 after configuration we will restart telnet service and off \u00a0firewall ,selinux service \u00a0below commands<\/span><\/h3>\n<pre><span style=\"color:#008000;\"><strong>[root@localhost ~]# iptables -F\n[root@localhost ~]# setenforce 0<\/strong><\/span><\/pre>\n<h3><span style=\"color:#ff0000;\">Step7 now go to client side and put command prompt in below commands\u00a0<\/span><\/h3>\n<p><strong><span style=\"color:#008000;\">telnet 192.168.56.1 8888 \u00a0<\/span><\/strong> \u00a0 \u00a0 \u00a0<span style=\"color:#0000ff;\"> \u00a0 (note-put your server machine ip address with customize port)\u00a0<\/span><\/p>\n<p>then put your username and password and login through telnet. if you have any problems in this processso comment here i will solve your problems<\/p>\n<p>Thank you<\/p>\n<p>Writer Vishnu Sharma<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>hello guys today we will discuss about secure telnet Server. basically secure telnet is a custom telnet its same copy of telnet server but here &hellip; <span class=\"ml-btn\"><a href=\"https:\/\/linux.thingsomething.com\/index.php\/2017\/01\/20\/how-to-configure-stelnet-in-redhat-linux-server\/\" class=\"more-link\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[8,14],"tags":[95,199,200,201,237],"class_list":["post-535","post","type-post","status-publish","format-standard","hentry","category-linux-rhel5","category-server-configuration","tag-how-to-configure-stelnet","tag-secure-telnet","tag-secure-telnet-configuration-in-redhat","tag-secure-telnet-in-linux","tag-what-is-secure-telnet"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/535"}],"collection":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/comments?post=535"}],"version-history":[{"count":0,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/535\/revisions"}],"wp:attachment":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/media?parent=535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/categories?post=535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/tags?post=535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}