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 thanks in advance |
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 :) |
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. |