LinuxQuestions.org
Help answer threads with 0 replies.
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 07-03-2004, 09:30 AM   #1
dougwo
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Rep: Reputation: 1
SSH Problem on FC2


I just installed Fedora Core 2 and when I try to connect to anything else with SSH, the system just hangs. I suspect that it is the new firewall but I cannot figure out how to disable it completely. I stopped iptables but that didn't help. BTW, I also can't ping anything.

Any ideas what to check next?

O, and it's not a DNS lookup problem because I tried with IP addresses as well.
 
Old 07-03-2004, 09:49 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Is this just affecting ssh?

When you say "hangs" do you mean that the whole system becomes unresponsive?

What happens when you try in verbose mode:
ssh -vvv user@host
 
Old 07-03-2004, 09:54 AM   #3
dougwo
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 1
If I am root, and I type ssh xx.xx.xx.xx I get the normal response. If I try to use ssh as a user, I get no response. If I am root and I try ssh user@xx.xx.xx.xx I also get no response.

-vvv yeilds Rhosts authentication disabled. We have a problem houston...
 
Old 07-03-2004, 10:56 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Are you trying to use Rhosts auth? If not - what are you trying to use?
 
Old 07-03-2004, 11:06 AM   #5
dougwo
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 1
Actually, I was confised with sshd config. I usually just leave ssh in default mode. I'm back to thinking it has somethign to do with the firewall. Why would it work as root and not as a user?
 
Old 07-03-2004, 06:39 PM   #6
gensis
LQ Newbie
 
Registered: Jun 2004
Distribution: Slackware, Suse, Red Hat, Fedora
Posts: 28

Rep: Reputation: 15
this is a classic questions about RH and ssh
the reason why is because u your firewall is blocking all connections into your box
run lokkit ( go to terminal and type in command lokkit) and check enable ssh coming in.

Good luck
 
Old 07-04-2004, 12:49 AM   #7
dougwo
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 1
Thanks, I'll check it. But I also foudn out I had two numbers switched in an IP address declared in my hosts file. duhh... Seems to work now. Seems I was trying the IP approach from root, but only with hostname from user account. Me bad.

But I also want to know more abotu the fiewwall so I'l llook at lokkit.

Thanks!
 
  


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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Remote X using ssh on FC2 stevewillis Linux - Wireless Networking 39 04-08-2007 11:44 AM
ssh into fc2 from suse 9.1 invasian Linux - Networking 0 09-10-2004 05:27 PM
ssh into fc2 from suse 9.1 invasian Linux - Networking 1 09-10-2004 05:18 PM
FC2: SSH Default? proudclod Fedora 6 05-28-2004 11:24 AM

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

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