Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need some help in Telnet. 1

Status
Not open for further replies.

ifxtechie

Technical User
Dec 22, 2000
127
US
Hi,
I need some help in getting my telnet working. My machine has Thiz Linux [came with machine]. When I connected to my network, everything is fine except I cannot telnet [or ftp] to that linux machine from any machine [including from itself].It always erros out as "connection Refused".
There is no entry in "hosts.deny" or "hosts.allow" files. My machine uses xinetd. I have put the file telnetd with proper entries and "disable NO" and the port as 23.
Even then it is not working.
When I checked for wheteher the telnet service is running, then I came to know that it is not running [which is the main culprit!!]
I downloaded telnet server and installed. I thought that after reboot it will start telnet service [at port 23] automatically. But it has not. Can anybody tell me how to start telnet service [or ftp service]. Or is there any reason that you can think off for this particular problem.
thanks in advance
Partha Parthasarathy
 
Try typing 'setup' in console. Enable the telnet service from there. Btw, what version of Linux are you using?
 
ThizLinux is from Thiz Labs Hong Kong.

Try using

chkconfig telnet on

then

/etc/init.d/xinetd restart

The telnet daemon runs from the super server.

But you should be using SSH not telnet.

Download putty and use that to connect to your box.




 
Thanks for the info. Can you pls be elaborate on SSH and putty.
thanks
Partha Parthasarathy
 
Best not to use Telnet. Not safe.
If you need "telnet" type access from a remote WindoZe box, use either TerraTerm Pro with SSH extensions, or Putty. Both free.

ß

 
Download whatever ssh client you want to use.

At the console
ps -A|grep ssh

This will show if ssh is running.
If it is open a session with your client.
If it asks for a encryption type select blowfish.
That should give you a connection.

If sshd is not running.

chkconfig sshd on
/etc/init.d/sshd start

then go through the above list.




 
Hi All,
Thanks for the help. I thought of reinstalling the linux and when I did it it is not identifying the ethernet card [eth0]. It shows the lights on the router and on the machine. But it says 'Network not reachable'. During booting, it doesnot say anything about eth0. Before it used to halt for 10-15 seconds at 'eth0' and it was saying OK. But it does not. Any help, pls
thanks
Partha Parthasarathy
 
Thanks for all the people who helped me in this regard. I set the ethernet to work using netcfg and added that device [but telnet still didnot work!]and I downloaded the puttty on windows, and it is working fine.
Thanks, again
Partha Parthasarathy
 
1) run nmap on 127.0.0.1 to see if your telnet service is up

2) check your /etc/passwd file. Locate your username, at the end of the line, there should be a listing such as '/bin/bash'. If it reads, '/bin/no, /bin/false, or /bin/null' that could be your problem

3) I agree with the above posting about not using 'Telnet' as it's not very secure

Information on SSH and Putty (which is a very useful client for windows) can be found at
Hope this helped

KC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top