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

Re: ssh issues



On Jul 17, 7:00 am, Rob Bochan <robslap...@gmail.com> wrote:
> On Monday 16 July 2007 08:02:44 pm Casey T. Deccio wrote:
>
> > Does /etc/hosts contain a valid entry for your hostname?
>
> > Casey
>

On Jul 17, 7:00 am, Rob Bochan <robslap...@gmail.com> wrote:
> On Monday 16 July 2007 08:02:44 pm Casey T. Deccio wrote:

> > Does /etc/hosts contain a valid entry for your hostname?
>
> ----- begin hosts ------
> 127.0.0.1       localhost
> 127.0.1.1       hostname

Leave those as is.

then on the client do

$>sudo ifconfig

to get the ip address of the client; then log into the server and add
a line in
/etc/hosts with the client's ip address hostname and alias

http://www.faqs.org/docs/securing/chap9sec95.html

Also helps to check /etc/hosts.deny and /etc/hosts.allow to see if you
have blocked yourself somehow, e.g. if you do hosts.deny ALL then
nobody gets in without an entry in hosts.allow

Lots of documentation available on this as it's a security matter,
just google on /etc/hosts and hosts.allow

rd



Reply to: