LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SSH Question... (https://www.linuxquestions.org/questions/linux-newbie-8/ssh-question-74069/)

Flipper 07-19-2003 09:44 AM

SSH Question...
 
Hello all...

I have RedHat 9.0 installed and SSH is installed as a part of this and appears to be running... is there some changes that need to be made to the config files before I can SSH using Putty into my Linux machine...

Everytime I try this, I get a "connection refused"... basically, do I need to make changes to the setup to have this work, or should it work without any tweaking... I am running a Linksys Router and I'm not sure if that is causing me problems... I have the port forwarding turned on...

If you tell me that it should work without any configuration, then I will remove my router from the picture and try this again!

Any and all help would be appreciated!

Thanks,
Phil

Mathieu 07-19-2003 09:51 AM

it should work without any configuration
 
It is possible that your router may be blocking port 22 (the SSH port).
Quote:

appears to be running...
if you want to verify the status of SSHd, type service sshd status at the command line.

Flipper 07-19-2003 01:15 PM

Ok... it's running... so, do you have to configure SSH in order for me to connect... or should/would you be able to connect "out of the box" as they would say?

Thanks...
Phil

david_ross 07-19-2003 01:22 PM

Check your firewall isn't blocking port 22:
iptables -L

post the output if you aren't sure.

Bebo 07-20-2003 03:29 PM

Hello,

Look in your /etc/hosts.deny and /etc/hosts.allow and see of you allow incoming ssh requests. If /etc/hosts.deny says

ALL:ALL

then /etc/hosts.allow should at least contain

sshd:<ip to let in>

/Stefan


All times are GMT -5. The time now is 09:07 PM.