Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-05-2011, 08:00 AM   #1
LQ Newbie
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Problem setting up my ssh


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
Old 08-05-2011, 10:01 AM   #2
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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
Old 08-05-2011, 10:15 AM   #3
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Originally Posted by pocketnl
"Network error: connection timed out".
Please run the following (as root) and post output (in code tags):

# ifconfig
# netstat -ltnp
# iptables-save
Old 08-07-2011, 04:51 AM   #4
LQ Newbie
Registered: Aug 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
I reinstalled centos and followed the tut again, now it works
But thanks anyway


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem setting up ssh connection lazylogic Debian 7 10-02-2008 06:13 PM
setting up .ssh tostay2003 Linux - Networking 5 01-21-2008 11:12 AM
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 04:15 PM
problem setting up ssh connection amit666 Linux - Newbie 1 01-30-2004 05:01 PM
problem setting up ssh rsheridan6 Linux - Networking 2 04-21-2003 11:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration