LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem setting up my ssh (https://www.linuxquestions.org/questions/linux-newbie-8/problem-setting-up-my-ssh-895720/)

pocketnl 08-05-2011 07:00 AM

Problem setting up my ssh
 
Hello,

Yesterday I installed Centos on my "old" pc.
I followed this tutorial to setup my ssh I followed all the steps but when try to connect from my laptop to the server (with putty) it says "Network error: connection timed out".

I hope you guys can help me :)

Wim Sturkenboom 08-05-2011 09:01 AM

First try locally using SSH client.

Did you change the port as suggested?
If you changed the port, did you specify the port in putty?
If you changed the port, you can change it back to test.

If 'm not mistaken sshd uses tcpwrappers; anything in hosts.allow or hosts.deny that can block it

anomie 08-05-2011 09:15 AM

Quote:

Originally Posted by pocketnl
"Network error: connection timed out".

Please run the following (as root) and post output (in code tags):

Code:

# ifconfig
Code:

# netstat -ltnp
Code:

# iptables-save

pocketnl 08-07-2011 03:51 AM

I reinstalled centos and followed the tut again, now it works:)
But thanks anyway


All times are GMT -5. The time now is 04:48 PM.