Jeremy C. Reed wrote:
> On Fri, 26 May 2006, Jeremy C. Reed wrote:
>
>>> I am trying to setup SSH to respond to names and not IP addresses, ie;
>>> ssh 192.168.x.x would be ssh harold. I am not sure were to go to change
>>> or update this setting.
>> If you are trying to do this for the server, it can not be done.
>>
>> If you are trying to do this for the client, it can be done, but why?
>>
>> Note that 192.168.x.x is a valid hostname too (all digits for the
>> characters).
>
> I see three different replies with three different answers.
>
> I read the original posting to say: want ssh to work if someone uses a
> hostname and not to work if they specifically use an IP.
>
>
> Jeremy C. Reed
>
> echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
> sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
It is a matter of DNS resolution -- the resolving of names into IP
addresses. The 'proper' way to do this is to use valid and 'fully
qualified' names, and make sure that DNS is setup and works for them.
The easy way to do this is by entries in the /etc/hosts file (on the
client), as was described in an earlier email.
- --
KevinO
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss