From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-64332-garchives=archives.gentoo.org@gentoo.org>)
	id 1HqbPW-0007uV-KM
	for garchives@archives.gentoo.org; Tue, 22 May 2007 20:56:51 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4MKsPtI014327;
	Tue, 22 May 2007 20:54:25 GMT
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4MKnowS009107
	for <gentoo-user@lists.gentoo.org>; Tue, 22 May 2007 20:49:51 GMT
Received: by wr-out-0506.google.com with SMTP id 60so1776237wri
        for <gentoo-user@lists.gentoo.org>; Tue, 22 May 2007 13:49:50 -0700 (PDT)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=R8nEbBA+rd7QFseGTodJDd9vOkUCAHnqRo8kwnaAKa9TY5Fd2f699/DG5ta55+CUv+BfUEa/iBRXewJn+gyzwj+Qqc2gw2l6Lqe8xYPpgMwvan+xvqOEjyOm0NX3QYzVceJY4RhxG4te9spUWH+TIGzV9+Qw90Sqc1KflCMRc/E=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=obYBcvGq6wfyRPESWih9qcx+IZiolfdb6Iz66gKDnRm74EN0tD/xOyAKMgr9sP4upaBNHnMwLMjTSACfhJRYpRqIP3oQ24t8u2z5QoRLPmKWXjh9gaIJg0tRLVi33Wef5WQQpZT0JyDT2lhXjo1c9UULuorBeVhQyZ+eaZVD7W8=
Received: by 10.114.193.1 with SMTP id q1mr3458968waf.1179866990387;
        Tue, 22 May 2007 13:49:50 -0700 (PDT)
Received: by 10.114.72.10 with HTTP; Tue, 22 May 2007 13:49:50 -0700 (PDT)
Message-ID: <d9a0a6da0705221349x5931ec46n2998c996c0f1631b@mail.gmail.com>
Date: Tue, 22 May 2007 16:49:50 -0400
From: Denis <denis.che@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ssh "Failed to add the host to the list of known hosts"
In-Reply-To: <46534333.9060903@buanzo.com.ar>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <d9a0a6da0705221218t1c833bd5u84103c1d98156018@mail.gmail.com>
	 <46534333.9060903@buanzo.com.ar>
X-Archives-Salt: 8069d577-81b5-4059-9716-be8d2554d939
X-Archives-Hash: 610b1cfa481520e6c2675e21466ebaf0

> You probably moved your home directory using root, or something like that.

I don't remember doing that, but maybe I missed something during an
install, who knows...

> chown username: /home/username/.ssh
> chown username: /home/username/.ssh/*
> chmod 700 /home/username/.ssh
> chmod 600 /home/username.ssh/*

Yep, this solved it.  I just wasn't sure if the user was supposed to
belong to some group for this to work automatically, but I guess
not...

Thanks!
-- 
gentoo-user@gentoo.org mailing list