00:00hello everybody if you want to set up telnet whether the server or the client
00:06on your gentle machine follow along the first method for the server is a piece
00:16of software called utilnet D you can install by running this command
00:24utilnet D I believe this is only the server I don't remember it having the
00:33client okay I don't do not have this keyword enabled globally we need to add
00:47it to accept keywords portage package accept keywords and we can call it
00:55utilnet D we simply copy this and paste it here and now we can install the
01:06package Y and enter here of course you need to remember that SSH is the better
01:17replacement of telnet and if you can you better use SSH as much whenever you can
01:26instead of telnet itself the next command should be starting its service by
01:33running this command sudo RC service utilnet D start and then if you have a
01:42firewall installed on your system and enabled you need to open the port 23
01:51like this I hope I have in my computer where I'm recording myself telnet command
02:01yes so let's try to run it telnet the IP address of this computer which I'm
02:10connected to through SSH is 10.1.0.7.1.0.7 okay like this
02:27like this let's see etc os release and here is gen 2 the computer that we
02:40installed utilnet D on the second method of course you are able to enable the
02:48service by running the command I mean let it start or make it start at every system
02:56boot by running this command add utilnet D boot okay that way every time you boot up your
03:07system you will have it running for you which telnet I believe that utilnet D does not
03:20have client utilnet D so small telnet yeah it's I believe it's only a daemon which means a server to take you to the second piece of software that
03:45we're gonna demonstrate in this video I need to stop this piece of software service
03:56and then sudo RC I don't need it
04:01del like this utilnet D boot yes maybe we can delete it merge av c utilnet D although it's not a very big package
04:24y and enter
04:35okay clear out the screen the next piece of software can be installed like this telnet psd
04:46and we need to install xinetd as well like this there are some use flags to be enabled for telnet psd you need to enable xinetd I have them installed as you can see here
05:11so I don't need to run the command again so I don't need to run the command again for you if you still didn't install them you should press y or run this command without the a flag or argument and even without v if you want
05:27for the use flags you add them to your slash etc slash portage slash package dot use you add it there if it is a file if it is a directory you make a file you call it the way you like I'm in my case I call it it like this
05:55and then you add it like this and then you add it like this this one is not needed I don't think it's needed so far I can reemerge xinetd to prove that it will not change anything and the telnet server will surely work
06:24work you can see that after I disable that use flag that use flag it is shown here that it is disabled the change it's a change to the package itself you go to afterwards etc xinetd dot d telnet d
06:53this is what you should get disable this is what you should get disable if it is yes you change it to no in my case it was yes I changed it to no this is the only value that you need to change in this configuration file you save and exit of course clear out the screen
07:21and then you start the service and then you start the service before that let me prove that there is no telnet connection to wait
07:28there is no possible telnet connection so now we should run this command to start the service that's responsible on starting the daemon which is xinetd like this
07:49if we try if we try if you have a firewall you should you should of course surely add the port which is
07:5823 add port equals 23 tcp nothing will change here it's already enabled or added if we try again like this we get
08:16the connection the password
08:23I said that the client is within telnet psd and we can see that it is there let's turn that into the local host this is of course as a replacement
08:45of the remote login and remote shell like SSH etc since telnet can be used for other stuff
08:54I'm signing out please don't forget to subscribe like share and comment and peace
09:00and peace
Comments