LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-04-2008, 02:49 AM   #1
abrahampackiaraj
LQ Newbie
 
Registered: Aug 2008
Location: India
Distribution: RHEL5, RHFedora 5
Posts: 2

Rep: Reputation: 0
unable to use telnet service with Fedora core 3


Dear Flocks,
Recently i installed RH Fedora core 3 as a server and started telnet service to enable remote login feature in windows network. telnet is working only when i connect the other linux mechines from this server but when i connect through windows command prompt or other linux mechines the following error is showing.

telnet 192.167.0.4

Connecting To 192.167.0.4...Could not open connection to the host, on port 23: Connect failed

but i ping this server it gives responses. i tried this by disabling firewall service and selinux features (i don't know much of this ) and again the same error is showing.

when i try from the other linux mechine it shows the follwing error:

[abi@localhost abi]$ telnet 192.167.0.4
Trying 192.167.0.4...
telnet: Unable to connect to remote host: Connection refused

please help me ...
 
Old 08-04-2008, 03:01 AM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Disable telnet and use ssh instead. Telnet is an insecure protocol and there's a reason it's not enabled by default (because you're not supposed to use it).

Download and install PuTTY on your Windows machine to access your Linux systems.
 
Old 08-04-2008, 03:37 AM   #3
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
So you got problem with Telnet, did you enable telnet from /etc/xinetd.d/telnet open this file instant "disable = yes" put "disable = no" then restart ur xinetd service
 
Old 08-04-2008, 03:41 AM   #4
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by chort View Post
Disable telnet and use ssh instead. Telnet is an insecure protocol and there's a reason it's not enabled by default (because you're not supposed to use it).

Download and install PuTTY on your Windows machine to access your Linux systems.
Are you from Silicon Valley, USA, Do you know Devry University ?
 
Old 08-04-2008, 05:47 AM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Don't use telnet - use ssh instead. Telnet is not secure

Also, don't use FC3 on a server - that hasn't been supported for quite some time and is not receiving security updates. I don't recommend Fedora for servers - the lifecycle is too short. If you like the basic Fedora setup, try CentOS, the free version of RedHat

Rahil, there really isn't a good reason to give bad advice. Why did you quote chort in that response?
 
Old 08-04-2008, 05:53 AM   #6
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by billymayday View Post
Don't use telnet - use ssh instead. Telnet is not secure

Also, don't use FC3 on a server - that hasn't been supported for quite some time and is not receiving security updates. I don't recommend Fedora for servers - the lifecycle is too short. If you like the basic Fedora setup, try CentOS, the free version of RedHat

Rahil, there really isn't a good reason to give bad advice. Why did you quote chort in that response?

I am Sorry I know its not secure,I thought he just wanna learn how troubleshoot it with telnet.
 
Old 08-04-2008, 08:23 AM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Quote:
Originally Posted by rahilmaknojia View Post
Are you from Silicon Valley, USA, Do you know Devry University ?
There are Devry campuses all over the USA, but I'm not sure what that has to do with anything?

Yes I live in Silicon Valley. I'm within a few miles of Sun, IBM, Intel, AMD, Symantec, EMC, McAfee, Google, Cisco, etc... I work right across the road from Yahoo! and Juniper.
 
Old 08-04-2008, 09:12 AM   #8
checkmate3001
Member
 
Registered: Sep 2007
Location: Folsom, California
Distribution: Debian 4.0 (Etch), Debian 5.0 (Lenny), Ubuntu 8.04
Posts: 301

Rep: Reputation: 32
[edited by owner - I was being rude]

Putty is a great program and works very well for this application. SSH is the way to go.

Last edited by checkmate3001; 08-04-2008 at 02:51 PM.
 
Old 08-04-2008, 09:24 AM   #9
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You might consider installing Cygwin/X on your windows machine. Then you can use the ssh client in the bash shell. You can even use "ssh -X hostname command" to start a graphical command. The server doesn't need to be in "init level 5" as long as the base Xorg libraries are installed.
 
Old 08-04-2008, 10:56 AM   #10
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by checkmate3001 View Post
This rahil guy sure posts a lot... and he doesn't seem to know very much... and he asks off the wall questions that have nothing to do with anything that is being talked about... chort's profile says he's from silicon valley... are you from india? do you know that place I call when I call customer service for my american based company?

Putty is a great program and works very well for this application. SSH is the way to go.
Yeah, I dont know much but Im learning I also want to become like u guyz, by the way im student, and it is good u post mail abt me and I will appreciate if u guyz help me where I make mistakes.

let me know wht do you mean by customer service of American based company, I just ask Chort bcoz next month Im going to US in Devry University for further studies.
 
Old 08-04-2008, 11:04 AM   #11
rahilmaknojia
Member
 
Registered: Dec 2007
Distribution: RHEL6, CentOS6.3
Posts: 188

Rep: Reputation: 32
Quote:
Originally Posted by jschiwal View Post
You might consider installing Cygwin/X on your windows machine. Then you can use the ssh client in the bash shell. You can even use "ssh -X hostname command" to start a graphical command. The server doesn't need to be in "init level 5" as long as the base Xorg libraries are installed.
Well, U told after installing Cygwin on window we can run SSH client is it works, I would like to know more abt it.
 
Old 08-04-2008, 03:23 PM   #12
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Here is where you can download the install program:
http://x.cygwin.com/

It will also allow you to run console programs in the bash shell such as awk, perl, grep, vim, LaTeX, etc.

You can also install some x windows based programs like xpdf, xv, etc.
running "startxwin" in cygwin will start an X server so you can log into any Linux or Unix host that runs Xdmcp. Otherwise you can ssh into a server and start a graphical or console program. Y

ou can set up your key pair the same way or even copy your keys from Linux if you are dual booting. ( You can do the same with putty or use putty's keygen program to display an openssh compatible public key which you can cut & paste for use in the servers .ssh/authorized_keys file. )
 
  


Reply

Tags
putty, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help with Telnet on Fedora Core 6 palbibek Linux - Software 10 11-04-2007 04:45 AM
Fedora Core 6 : Unable to connect to telnet server jayakrushna Linux - Software 3 02-21-2007 07:08 PM
Fedora Core 4 Telnet Meabert Linux - Software 1 11-27-2005 10:55 AM
Telnet Fedora Core 3 Paintballguy59 Linux - Software 4 02-02-2005 10:55 AM
can't connect to telnet in fedora core 2 maerong Linux - Networking 5 07-05-2004 09:49 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration