LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-19-2004, 11:47 PM   #1
afzaal
LQ Newbie
 
Registered: Apr 2004
Location: Pakistan
Posts: 4

Rep: Reputation: 0
Question opening telnet in redhat 7.2


Dear All,

I have installed Radhat 7.2 workstation in a windows 2003 based DHCP enabled network. I have reserved an IP for the linux machine. I have not been able to telnet into the machine. every time I get a message " connection refused". I have even allowed all in hosts.allow file. I even removed all security tools like ipchains, and tcpwrappers but no success.

I had even checked no firewall during installation.

Please help me out.
 
Old 04-19-2004, 11:52 PM   #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: 76
Why? Why would you do such a thing? Why would you remove every security tool in an attempt to run a completely insecure remote login protocol? Did it ever occurr to you that there's a good reason why it's so hard to do something like this? I really, really don't understand why people complain about the insecurity of Windows, then they switch to Linux and try to make it as completely insecure as possible.

Sorry I'm getting a little carried away here. The answer is that you should not use telnetd, because it's completely insecure. Use SSH (sshd) instead, that's what it's installed for.

Also if you would have searched either the security or the networking forum, you would have found this same answer many times.
 
Old 04-20-2004, 12:31 AM   #3
afzaal
LQ Newbie
 
Registered: Apr 2004
Location: Pakistan
Posts: 4

Original Poster
Rep: Reputation: 0
I have even tried ssh and get the same connection refused. please advice.
 
Old 04-20-2004, 01:35 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Run a traceroute to the box, then run your ssh session adding verbosity flags "-v -v". Post result.
 
Old 04-20-2004, 01:02 PM   #5
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
Maybe this is obvious, but... have you installed telnet-server package?
red hat only installs telnet client by default.

Regards
 
Old 04-21-2004, 02:06 AM   #6
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: 76
Do you have the sshd service turned on?

What's the output of:
$ netstat -anF inet

When you boot up and it scrolls the serivces that it's turning on, does it list ssh?
Check in /etc/rc.d/rc3.d and see if there is a symlink to /etc/rc.d/init.d/sshd, and see what the name is (ls -l /etc/rc.d/rc3.d), or if you're running in graphical mode I believe you need to check rc5.d.

Is ssh even installed?
$ rpm -qa|grep -i ssh
 
  


Reply



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
Opening Ports On Linux RedHat 7.3 David@330 Linux - Newbie 1 03-15-2005 01:06 AM
Opening a Xenix Partition in RedHat Lady_Sapphire Linux - Newbie 17 08-04-2004 04:56 PM
An error occurred opening /dev/audio (RedHat 9) mjkchi Linux - Hardware 2 05-04-2004 11:11 PM
Opening a Dial-Up Connection in RedHat 9 sadhanandh Red Hat 7 10-16-2003 07:25 PM
Opening a port in telnet digsby0007 Linux - General 5 02-06-2003 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:40 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