[SWLUG] using ssh to talk to a server?

Mark Summerfield mark at qtrac.eu
Fri May 2 11:41:59 UTC 2008


On 2008-05-02, Justin Mitchell wrote:
> > One last question though: how do I use names instead of IP addresses so
> > I can write
> >     ssh percival
> > instead of
> >     ssh 192.168.2.3
> > etc?
>
> long answer:
>  setup a named / bind nameserver and create local domain zone files.
>
> short answer:
>  add lines to /etc/hosts of the form:
>  192.168.2.3 percival

Thanks, I went for the short one since I only have two machines, and it
works perfectly:-)


-- 
Mark Summerfield, Qtrac Ltd., www.qtrac.eu




More information about the Swlug mailing list