SSH/Names

KevinO kevin at kevino.org
Fri May 26 20:34:28 MST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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 at I;C5?@H5B0D at 5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
> sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEd8jCI3MJ/OwKti0RAlkeAJ41EtzjNGsPfgSpH77nDUGGMWbp2wCcDPJU
Swy3yq3hercFWK9+NWbzN60=
=AqIG
-----END PGP SIGNATURE-----


More information about the PLUG-discuss mailing list