LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Firestarter not opening ports (https://www.linuxquestions.org/questions/linux-networking-3/firestarter-not-opening-ports-750886/)

dpeterson3 08-28-2009 10:30 AM

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

kdelover 08-28-2009 10:40 AM

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 :)

dpeterson3 08-28-2009 12:27 PM

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.


All times are GMT -5. The time now is 05:34 AM.