LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: Disabled
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
 
Old 08-05-2011, 09:01 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

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, 09:15 AM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
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
 
Old 08-07-2011, 03:51 AM   #4
pocketnl
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
 
  


Reply



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 05:13 PM
setting up .ssh tostay2003 Linux - Networking 5 01-21-2008 10:12 AM
setting up an ssh soxy or local ssh tunnel from within an ssh soxy Mangenius Linux - Networking 0 03-05-2007 03:15 PM
problem setting up ssh connection amit666 Linux - Newbie 1 01-30-2004 04:01 PM
problem setting up ssh rsheridan6 Linux - Networking 2 04-21-2003 10:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 AM.

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