SSH into RH 7.3 refused
Hello,
I am trying to ssh into my rh 7.3 machine and it is refused each time. I have tried using putty and my rh 9 machine. I have done an nmap on the 7.3 machine and port 22 is open. Does anyone have any ideas? Thanks alot. *edit* i don't know how much this matters but i am able to ssh from the 7.3 into the 9 *edit* |
Have you added the remote system to /etc/hosts.equiv?
John |
There is no such file, and is there some reason that i should create one? Neither one of my RH machines have that file on them. The RH 9 has no problems what so ever
|
Hmmm. I just now set up ssh on my machines and read somewhere (webpage) that you needed entries in hosts.equiv. But after reading your post I renamed the file on one and ssh still works.
Must have been obsolete information. Sorry, I can't help you any further then. John |
oh well thanks for trying :)
|
Ok .. i have made some progress.... turns out when i do a
nmap localhost on the 7.3 machine it shows that 22 is open along with some others. However when i do an nmap from a different computer nmap 192.168.1.104 it only shows one port open 1024 so its some kind of firewall issue as far as i can tell. i have done some looking and i am finding out to change my iptables config file, but there is no such file. What i found that was close and appears to be similar is an ipchains file. I am wondering if the ipchains in the /etc/sysconfig is the correct file that controls the firewall or not. |
Yes, you have a firewall problem. You need to open port 22, at least to the computers you want to SSH from.
Another way to change firewall rules is with Webmin. webmin.org |
where is the config file for that?
or how can i even turn it off?.... i am behind a router so i am going to have to port forward anyway so it might be easier to just turn it(the firewall) off for the time being. |
Just try doing "/sbin/ipchains --list" to list your firewall configuration.
To flush your chains (get rid of them, and not have ANY firewall), do: "/sbin/ipchains --flush" Yes, the config file should be /etc/sysconfig/ipchains I believe. This worked fine for me in RH7.3, and I have now upgraded to RH9 |
"/sbin/ipchains --flush"
did the trick .... thanks so much ssh is working fine... now off to config ftp and finish doing samba |
All times are GMT -5. The time now is 03:50 PM. |