LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Telnet Access (https://www.linuxquestions.org/questions/linux-networking-3/telnet-access-67604/)

Ganeshmanus 06-23-2003 10:15 PM

Telnet Access
 
I would like to have Telnet Access to my Linux system from Windows XP but unable to do so. I have two PCs connected together with a cross CAT cable. The PCs are pinging each other.

What do I have to do on my Linux Redhat 8.0 system to be able to access it from windows XP.

zmedico 06-23-2003 10:37 PM

Code:

su
/sbin/chkconfig --level 345 xinetd on
/sbin/chkconfig --level 345 telnet on
/sbin/service xinetd restart

You may also have to edit /etc/hosts.allow, /etc/hosts.deny, and change any firewall settings you may have.

Robert0380 06-23-2003 10:51 PM

a note on telnet:


it's insecure and sends the username and password cross the network in plain text. The better alternative is ssh. If you box is connected to the internet, set up your firewall so that the only place telnet access is capable is between the 2 boxes and not over the internet.

pcardout 06-25-2003 10:59 AM

Hey -- I like the low level response you got from zmedico ... I'll use that myself! If you want to do it with a GUI, you need to go to the System control panel and find the Service configurator. (From command line, this is /usr/bin/serviceconf &). Once in service configurator, you will see wuftpd and telnetd, turn those on for telnet and ftp access. Then you can do both from your Windows machine. This is exactly what I do. Very useful. The fact that you installed the RedHat server package only means the services are there, not that they were turned on!

ashesh 07-13-2003 01:46 PM

[guest@rcc4 guest]$ su
Password:
[root@rcc4 guest]# /sbin/chkconfig --level 345 xinetd on
[root@rcc4 guest]# /sbin/chkconfig --level 345 telnet on
error reading information on service telnet: No such file or directory
[root@rcc4 guest]# /usr/bin/serviceconf &
[1] 4891
[root@rcc4 guest]#


Somehow telnet and ftp don't appear in /etc/xinetd.d/

So I am not able to enable these 2... as of now I am just able to ftp/telnet from RH9.0 to any other system, but not able to ftp/telnet from windows or anyother system...

zmedico 07-14-2003 11:23 AM

The vsftpd package, which is part of the RH 9.0 distribution, does not use xinetd. You would do this instead:
Quote:

/sbin/chkconfig --level 345 vsftpd on
/sbin/service vsftpd start
Is the telnet-server package installed? Check with "rpm -q telnet-server".

ashesh 07-14-2003 11:18 PM

[root@rcc4 guest]# rpm -qa|grep telnet-server
telnet-server-0.17-25
[root@rcc4 guest]# rpm -qa|grep ftp
lftp-2.6.3-3
ftp-0.17-17
gftp-2.0.14-2
vsftpd-1.1.3-8
ncftp-3.1.5-4
[root@rcc4 guest]#


Yet, telnet doesn't work... I have also tried after doing the following, but still things aren't fine

su
/sbin/chkconfig --level 345 xinetd on
/sbin/chkconfig --level 345 telnet on
/sbin/service xinetd restart

zmedico 07-15-2003 06:46 PM

/etc/xinetd.d/telnet is part of the telnet-server package, if that doesn't exist you should install the package again. To check if the telnet-server installation has been corrupted you can do "rpm --verify telnet-server".

stonegold84 07-29-2003 09:58 PM

ho guyzzzzzz,,


i have the same problem.... the telnet package is not installed...

can any 1 tell me how to install this package???? where will the package be????

deft0nes12 07-30-2003 10:35 AM

what format do u have to use to put an entry in the hosts.allow and hosts.deny files? just IP or what?

zmedico 07-30-2003 11:19 AM

Quote:

Originally posted by stonegold84
can any 1 tell me how to install this package???? where will the package be????
On rpm based distro run "rpm -ivh telnet-server*.rpm". The rpm is available on one of the install cds and you can find it with http://rpmfind.net

Quote:

Originally posted by deft0nes12
what format do u have to use to put an entry in the hosts.allow and hosts.deny files? just IP or what?
"ALL: ALL" matches everything, see "man hosts_access" for details.

HL-Hosting 07-31-2003 03:40 PM

Hi,
I am trying to restart my Linux machine from Telnet. I can connect to it but i just don't know the command. Help?

Thank You,
Roman

zmedico 07-31-2003 07:14 PM

Welcome to LinuxQuestions.org, :)

The command is called "shutdown", see "man shutdown".

HL-Hosting 08-01-2003 08:19 AM

Quote:

Originally posted by zmedico
Welcome to LinuxQuestions.org, :)

The command is called "shutdown", see "man shutdown".

lol yeah thanks haha but man i said restart lol

zmedico 08-01-2003 12:59 PM

use "shudown -r", or see "man reboot".


All times are GMT -5. The time now is 05:04 PM.