LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2014, 05:41 PM   #1
coolx
LQ Newbie
 
Registered: Aug 2011
Posts: 19

Rep: Reputation: Disabled
Question Telnet problem


Hi,
I searched lots of stuff but I couldn't any solutions.
The problem is, I want to run "telnet" command from my server to test another server's ports. For example "telnet 192.168.2.1 8080"

So I installed RedHat 6.5 but telnet command is not working. So I try to install with "yum install telnet" but redhat server isn't licensed yet.

So how may I able to activate "telnet" command on server?

(ps : To clarify, I don't want to connect my server via telnet.)

regards.
 
Old 01-25-2014, 06:51 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,189

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
You pretty much never want to run a telnet server on your box (too usecure). Of course, you don't need the server daemon running to invoke an OUTGOING session as you are doing. But still, even having the server installed, and possibly turned on by default with the installation - bad.

You might consider using "netcat" for these kind of port tests instead of telnet. The program is called "netcat", but the command line you invoke is "nc".

Consider using the command below, where the XXX's are the IP address, and the ZZZ's are the port
Quote:
nc -z -v XXX.XXX.XXX.XXX ZZZ
 
1 members found this post helpful.
Old 01-27-2014, 12:42 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
The telnet client (which is what you want) isn't installed by default, but it is (should be ?) somewhere on the Install media.
Ypu should be able to install it by activating the Local Media repo entry.
 
  


Reply

Tags
telnet


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
telnet slowness - linux telnet vs windows telnet vahab Linux - Networking 4 01-23-2013 02:25 PM
Any links to telnet debug tests? like telnet to a service and find info about it? szboardstretcher Linux - Security 2 12-02-2011 01:25 PM
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
Can't end telnet servcie in xinetd when close remote telnet cliend forcely zeroneworld Linux - Newbie 2 12-09-2007 08:47 PM
Can't end telnet servcie in xinetd when close remote telnet cliend forcefully. zeroneworld Linux - General 1 12-06-2007 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration