LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-28-2009, 10:30 AM   #1
dpeterson3
Member
 
Registered: Jun 2008
Distribution: Debian
Posts: 164

Rep: Reputation: 16
Firestarter not opening ports


Hello. I am trying to run an ssh server on my Lenny box. SSH is up and running (as far as I can tell). I use firestarter as my firewall interface. I made a rule to allow inbound connections on port 22. When I try to connect from another computer, I get an error saying "connection refused." I went to the server and typed in
Code:
sudo ssh localhost
and got the same error. I know firestarter is set correctly. I can go in and see my rule. Restarting the firewall doesn't seem to help. I have no idea what is blocking me at this point. Any suggestions.

thanks in advance
 
Old 08-28-2009, 10:40 AM   #2
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
how do you know ssh is up and running?do these and tell if ur box is listening on port 22 or not

lsof | grep -i "LISTEN"

or may be lsof -i :22

how about doing this /etc/init.d/ssh status or do /etc/init.d/ssh start may be the sshd deameon is not started. Try posting the contents of

iptables -t filter -L INPUT -v

or check your sshd configuration files to see on what port is is listening on ( by default must be 22)

More info on this would be helpful
 
Old 08-28-2009, 12:27 PM   #3
dpeterson3
Member
 
Registered: Jun 2008
Distribution: Debian
Posts: 164

Original Poster
Rep: Reputation: 16
Thanks. Turns out ssh wasn't installed I was assuming it was for 2 reasons. First, someone told me that if I tried to ssh to my local-host and got any output, ssh was up and running. Secondly, the program I plan to use over ssh didn't give me any dependency errors during installation (it uses ssh by default). Also, this is the first time I have seen a Debian install that didn't ship with ssh. Odd? Installing ssh took care of the problem. I can't believe I overlooked that one. Too obvious.
 
  


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
Problem opening ports - ports appear open, but do not work. computer_freak_8 Linux - Software 10 09-20-2008 09:39 PM
Firestarter xdcc,xchat and ports? azz131 Ubuntu 1 04-17-2008 07:59 PM
Sheilds up shows opened ports with Firestarter? badmofo666 Linux - Security 4 01-02-2007 01:53 AM
Firestarter - lot's of activity on ports 138, 137 watchitman Linux - Security 1 08-13-2004 08:38 PM
Firestarter does not forward ports to Webserver nbccbn Linux - Networking 2 12-31-2003 10:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:15 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
Open Source Consulting | Domain Registration