Connection timeout on Centos 5.6 from Windows XP using PuTty
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Connection timeout on Centos 5.6 from Windows XP using PuTty
I searched the forums using "PuTty 'CentOs 5.6'", but did not get a hit.
This is a relative new installation of CentOs 5.6, installed last week. When I attempt to use PuTty from Windows XP using the Hostname for the CentOs system I get a "Connection timed out" error. However, if I use the IP address for the CentOs machine I can PuTty into it with no difficulty. (Infact I'm in a FireFox window on CentOs writing this.)
I cannot ping the hostname, but I can ping the IP address.
Sounds correct.. but having the name in the Centos /etc/hosts file, will not allow the Windows machine to read that hostname.
You have to add the IP and hostname to the Windows XP hosts file @ \windows\system32\drivers\etc\hosts (Apologies if that is wrong, but its definately close to the correct path)
Or are you implying that you have in fact added the IP and hostname to a real DNS server?
Last edited by szboardstretcher; 08-08-2011 at 10:37 AM.
Sounds correct.. but having the name in the Centos /etc/hosts file, will not allow the Windows machine to read that hostname.
You have to add the IP and hostname to the Windows XP hosts file @ \windows\system32\drivers\etc\hosts (Apologies if that is wrong, but its definately close to the correct path)
Or are you implying that you have in fact added the IP and hostname to a real DNS server?
I've added to what I have access, which means the hosts file on my XP machine and Hosts and Hostname on the CentOs machine. I added the IP address and hostname of the CentOs machine on the XP, and in the CentOs machines hosts and hostname files I've added an IP address and the DNS that we use. I do know that adding the IP and name to my XP box's hosts file does work, but as soon as I boot the CentOs machine that IP address can change.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.