|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Ssh
i just installed RedHat Linux 7.3 and it has the SSH daemon running but I can only log in to the SSH from the same computer and not a remote one thats on the same local network. Is there a security setting I have to reduce or ???
|
|
#2
|
||||
|
||||
|
The firewall is probably running as well and is setup to now allow any traffic on the ssh port. Just to see if that's the problem, as root, type this:
Code:
$ ipchains -F Then try your ssh connection from a different machine. If it works then, you'll need to open a hole in the firewall to allow ssh connections. I don't remember how to do that exactly, but just look at the man pages for ipchains, it's all there. |
|
#3
|
|||
|
|||
|
After flushing it, how do I restore it to just remove the SSH port from being filtered?
|
|
#4
|
|||
|
|||
|
I uncommented the thing that was disabling listening on port 22, now how do I restart SSH without having to restart my computer?
|
|
#5
|
||||
|
||||
|
To resore the firewall rules, you can run this command:
Code:
$ ipchains-restore </etc/sysconfig/ipchains and to restart sshd, you can use the `service' command: Code:
$ service sshd restart Both those need to be run as root. |
|
#6
|
|||
|
|||
|
I flushed out ipchains but I know that's not the best way to go about things because now I have no firewall. I want to restore my firewall but how do I only remove SSH from the ipchains list?
|
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Ssh |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|