SSH hostname login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I run CentOS 4.1 on a remote server and did a minimal installation. My 
problem is that I can not login using the HOSTNAME, must use the IP.

1. edited the -  /etc/sysconfig/network
2. changed  - HOSTNAME=a266
3. restarted the network

Looks ok, hostname appears when logged on via IP, but can't use the 
HOSTNAME to log on from client.
---
[kai@localhost ~]$ ssh a266
ssh: a266: Name or service not known
---
[kai@localhost ~]$ ssh 192.168.0.101
kai@xxxxxxxxxxxxx's password:
Last login: Sat Aug 13 17:13:09 2005 from 192.168.0.102
[kai@a266 ~]$
---
I can't figure out where I missed out.

kai




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux