How hostnames are stored in winXP

B

BillJosephson

Hi, I just got a new (used) Windows machine. I downloaded SSH to
connect to my linux box at work. If I use the IP address it works. But
unlike my old machine, if I type the full name
([email protected]) it doesn't work. It worked before. So
somehow my new machine doesn't know how to connect the IP address and
the name. I know linux uses a host table. How can I get my WinXP box
to know the names of IP addresses?

Thanks very much in advance.
 
F

Flyer

BillJosephson said:
Hi, I just got a new (used) Windows machine. I downloaded SSH to
connect to my linux box at work. If I use the IP address it works. But
unlike my old machine, if I type the full name
([email protected]) it doesn't work. It worked before. So
somehow my new machine doesn't know how to connect the IP address and
the name. I know linux uses a host table. How can I get my WinXP box
to know the names of IP addresses?

Thanks very much in advance.

the hosts file is located in \windows\system32\drivers\etc
add you entries in there, as per the example shown.
edit with wordpad, notepad etc

P.
 
B

BillJosephson

the hosts file is located in \windows\system32\drivers\etc
add you entries in there, as per the example shown.
edit with wordpad, notepad etc

P.



Thanks much....
 
S

Steven Mocking

That looks like a Fully Qualified Domain Name to me. Doesn't your
organisation have a DNS server?
the hosts file is located in \windows\system32\drivers\etc
add you entries in there, as per the example shown.
edit with wordpad, notepad etc

Using hosts files for name resolution in anything but the tiniest local
networks is considered bad practice and will get you eviscerated by the
IAB.
 
P

Paul J Gans

That looks like a Fully Qualified Domain Name to me. Doesn't your
organisation have a DNS server?
Using hosts files for name resolution in anything but the tiniest local
networks is considered bad practice and will get you eviscerated by the
IAB.

This is true. But when there are network problems and I can't
reach my local nameserver (but can reach the outside world) setting
up a (temporary) host file is a wonderful workaround.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top