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

Re: DNS and Hostnames (was: Re: SSH: does it require portmapper and what hostname is it looking for?)



On 2004-02-19, Anthony Campbell penned:
>
> I am indeed grateful to everyone for help with this. Following
> suggestions received so far I've tried (for this computer) setting my
> hostname to arcadia.acampbell.org.uk and putting the following in
> /etc/hosts:
>
>>-------cut-----------------
> 127.0.0.1 acampbell.org.uk localhost ac arcadia.acampbell.org.uk
> accampbell.uklinux.net
>
>>--------------cut-------------
>
> I'm not sure that the first line is right - any corrections please?

This is just the hosts file for one of the machines ...

What are you intending to accomplish with the acampbell.org.uk and
accampbell.uklinux.net entries?

Each entry after the IP address on a line should be an identifier for
this machine and this machine only.  

> Related question to start of this thread: is ssh what I need?  The
> situation is that I have two computers (desktop and notebook)
> connected to the router and accessing the Internet independently. I
> want to be able to exchange files between them. (Email would do at a
> pinch but I can't see how to do that either.)
>

Well, scp is ssh's file transfer tool.  If your router also acts as a
firewall *and* you have particular directories you care about, you might
consider using NFS or Samba for file sharing.  Do *not* use NFS or Samba
unless you have a firewall of some sort in between those machines and
the world at large.

(Actually, I strongly recommend configuring a firewall, regardless of
what services you choose to run.  Close every inbound port that you
don't absolutely need.)

-- 
monique



Reply to: