SSHD Connection Problems
I was just recompiling my server today... and when I go to compile OpenSSH with the SSHD configured deally... I think I did it all right.
The reason for this hypothisis is that I can connect to the machine FROM the machine... and it logs in perfectly... so I know that the software is up and running. BUT... I can't connect from any REMOTE boxes... it says "Network timeout" or whatnot... I am running behind a router... and yes the port is forwarded :? ... Just I dont have any ideas on what could make the SSHD except any remote connections... |
If you have another computer behind the router with your server try disabling the firewalls on both and then try to connect. A few days ago I was setting up sshd and was sure that I had it and the firewalls all configured correctly. Turned out my configurations for the firewall were not sticking. After I disabled the firewalls and connected fine I knew that it was a problem there and not with my ssh set-up. If you can connect then you will have to go back and figure out how to get your firewall configured.
|
Okay, since I have no clue on IPChains config file... I just took out all the REJECTs in the config file... and it works! Yay...
This is my file... # Firewall configuration written by lokkit # Manual customization of this file is not recommended. # Note: ifup-post will punch the current nameservers through the # firewall; such entries will *not* be listed here. :input ACCEPT :forward ACCEPT :output ACCEPT -A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth0 -j ACCEPT -A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth1 -j ACCEPT -A input -s 0/0 -d 0/0 -i lo -j ACCEPT #-A input -p tcp -s 0/0 -d 0/0 0:1023 -y -j REJECT #-A input -p tcp -s 0/0 -d 0/0 2049 -y -j REJECT #-A input -p udp -s 0/0 -d 0/0 0:1023 -j REJECT #-A input -p udp -s 0/0 -d 0/0 2049 -j REJECT #-A input -p tcp -s 0/0 -d 0/0 6000:6009 -y -j REJECT #-A input -p tcp -s 0/0 -d 0/0 7100 -y -j REJECT Which REJECT line is stoping my SSH from connecting? |
Unfortunately I don't know much about firewalling. In RH 7.3 I type setup in a terminal window, select Firewall Configuration, select the customize button and then X the allow incoming SSH (thats from memory - could be different for you).
|
Since I'm behind a natural firewall... I dont care too much about it for right now. Thanks anyways...
|
All times are GMT -5. The time now is 01:53 AM. |