LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 01-11-2015, 05:03 PM   #1
amostafa@qtit.com
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Rep: Reputation: Disabled
how can i telnet to host from linux server


i have linux server and i need test the communication between this server and some host using telnet.
how can i do this ?
The linux version 2.6. 29 3-1 smp.gcc3.4.x86 i686 (rap-master.rpath.com@rpath:linuc-1-devel) (gcc version 3.4.3)

i need the telnet client that compatible with my linux server version ?
the second question
when try to install using this command rpm -ivh filename.rpm
it return rpm not found

how can i get the rpm and install in to my server
 
Old 01-11-2015, 10:17 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,517

Rep: Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619Reputation: 2619
first unless this server is OFFLINE and locked behind your lan

DO NOT use telnet
it is VERY INSECURE!!!!
use ssh instead with SHA256 or SHA512


as to what version of what operating system this is

all i can tell quickly is that it is a bit OLD
with a old kernel built with the old gcc 3.4 compiler ( the Legacy compatibility compiler)

with this a rpm based system
please post the output of this

Code:
cat /etc/redhat-release
i am betting this is one of the no longer supported RHEL4 operating systems
or maybe Oracles 5.?

Quote:
when try to install using this command rpm -ivh filename.rpm
it return rpm not found
you NEED to be the root user to use rpm

also rpm should ONLY be used as the VERY VERY LAST resort
the tool "yum" replaced rpm many years ago

yum was designed to solve Problems that rpm caused
( package dependencies )

as to that please ALSO post the output of this command
Code:
yum update

Last edited by John VV; 01-11-2015 at 10:30 PM.
 
Old 01-12-2015, 05:25 PM   #3
amostafa@qtit.com
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
Dear
i log to Applaince AS ROOT user
i try to run this command
cat /etc/redhat-release command not found
And
cat /etc/*-release return RSA SecurID Appliance 3.0.4.14.

and
cat /proc/version return linux version 2.6. 29 3-1 smp.gcc3.4.x86 i686 (rap-master.rpath.com@rpath:linuc-1-devel) (gcc version 3.4.3)

and
yum command not found
and
rpm command not found

yum update command not found
and
rpm -qa command not found
and
yum list installed command not found
 
Old 01-12-2015, 05:34 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Contact EMC (as they took over RSA) support and ask them which Service Pack you need.
 
Old 01-13-2015, 01:17 AM   #5
amostafa@qtit.com
LQ Newbie
 
Registered: Jan 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
@unSpawn is there are any way like telnet client tools to test communication between Linux Appliance and any other host with specific port ?
like i need to test between my version of Linux system to My mail server on port 25
 
Old 01-13-2015, 08:01 AM   #6
cliffordw
Member
 
Registered: Jan 2012
Location: South Africa
Posts: 506

Rep: Reputation: 194Reputation: 194
Hi,

Try "nc" (netcat) or "socat" if they're installed. They can both be used for testing in similar ways to telnet.

Examples:

Code:
nc mailserver.example.com 25
socat - TCP4:mailserver.example.com:25
 
  


Reply


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
Shell Script Commands to Automate Server or Host Telnet Login Session jakesjohn Linux - Software 4 02-08-2010 11:32 PM
Shell Script Commands to Automate Server or Host Telnet Login Session jakesjohn Linux - General 2 02-08-2010 11:28 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
telnet works but 'telnet host 25' gives 'no route to host' karlmdv Linux - Networking 2 07-25-2006 06:28 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:39 AM.

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
Open Source Consulting | Domain Registration