Telnet - HOWTO
Hi,
I am using Fedora Core 1. I am a real newbie at telnet. Though i've tried to read a lot about it i can't ever get it working. I guess telnet is a terminal emulation program that is used for remote login But it never seems to work. When i type telnet <i.p. of host> 23 or simply, telnet <i.p. of host> It either says : Trying 10.10.27.220... telnet: connect to address 10.10.27.220: Connection refused or gets stuck up displaying Trying 10.10.27.220... I never asks for any passwd or username I cannot even remote login into my own sysytem While ssh works fine I guess for telnet to work the telnet daemon or server must be running on the host I know i have installed the telnet server but i don't know where to find it and start it How can i thus remote login into my own system or say any other system of whom i know the passwd and how to activate the telnet service on the machine I am a real newbie at using telnet though i have read a quite about it Thanks. |
Any reason you would rather use telnet over ssh? Ssh is much more secure and the preferred remote login method for linux.
|
Is telnet running on the system that you're trying to connect to? Try running a port scan to see if the port 23 is open.
Your program call syntax seems to be in tact. The question of telnet of ssh is an interesting one though... |
I don't know which one is better. I just want to learn telnet
No, there is no specific reason that i want to use telnet over ssh I just want to learn how to use it Also i don't know how to do a portscan Please help. Thanx. |
If you don't know about telnet, don't use it. Telnet is the predecessor to SSH and is not enabled on most new systems for a good reason. EVERYTHING over telnet is sent "in the clear" (that is, unencrypted). SSH has all the functionality of telnet, and then some. If you really want to use telnet after all this, you'll need to install the telnet server package. I'm not sure which that is under Fedora, but I'm sure a quick search through an RPM site will find it.
|
Hi,
I already have the telnet server program installed on my Fedora Core 1 When i checked my system for installed packages it said that the following package was installed : telnet-server - The server program for the telnet remote login program But i don't know how to use it or start the telnet services. It is not there in the /etc/init.d directory Also i don't know how to do a port scan And i would like to learn telnet. I may not use it because ssh is better but i just want it to work Please help. Thanx. |
To start the telnet server.
1. Go to the /etc/xinetd.d/ directory. 2. Edit the telnet file. set diable = no 3. Restart the xinetd service. |
Hi,
Thanks a lot for your help Now i can login via telnet into the machine However i can only login as a normal user and it wouldn't allow me to login as root The telnet file of the machine read as : # default: on # description: The telnet server serves telnet sessions; it uses \ # unencrypted username/password pairs for authentication. service telnet { flags = REUSE socket_type = stream wait = no user = root server = /usr/sbin/in.telnetd log_on_failure += USERID disable = no } Do i have to edit the file so as to be able to login as root? Thanx again. |
Telnet!
There isn't much point learning this. It's really out-moded now..... he says.... my two main business systems at work use telnet over a wan... lol anyway. okay add pts/0, pts/1, pts/2, pts/3, ptt/4 to the end of the file called: /etc/securetty But this pretty dangerous. you can log in and su in any event..... |
I agree w/ others, use ssh, not telnet. Your password,
especially, is in the open. A bunch of SSH programs link at http://www.websamba.com/Linux_Docs_Links -> Softwares -> Telnet Equivalents Sheng-Chieh |
All times are GMT -5. The time now is 06:51 PM. |