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 ) id 1HqZzm-00016b-3M for garchives@archives.gentoo.org; Tue, 22 May 2007 19:26:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4MJNlHo031845; Tue, 22 May 2007 19:23:47 GMT Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.236]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4MJIOhc025219 for ; Tue, 22 May 2007 19:18:25 GMT Received: by nz-out-0506.google.com with SMTP id x7so2394510nzc for ; Tue, 22 May 2007 12:18:22 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=l9Sgv1uD802q0Dmyh27DsPzhVpj6jDKFaYfj6OW5wVWeNyVKC8yZeQGG6/UBdGBkUnl8N7ZJVbwIJ5EcFZ5cAYwpM+zIDSm/vUbU97sGKud4J02Zql1hGlL/j5VLGuOKZWgBI/RNGeb0wz1E3QqBpRTD4dmnEYT5joIqmXeKMk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Bc73/3uDwqNqi6wZOfBTb7joExJHMd+Gg8BaYclrLnVxS5nJ6HRexS+K6odT1Jj5jy97sbp3hsBjHfF8QjZl/usB7KtsKfDw57YiY+4UtM5rSQ5wqIrS6CLH/2/TjhWpTQymxyUvgpyITOg372ogA3nIhiD9JlZpceLZIGYd8G0= Received: by 10.114.110.1 with SMTP id i1mr3411682wac.1179861501705; Tue, 22 May 2007 12:18:21 -0700 (PDT) Received: by 10.114.72.10 with HTTP; Tue, 22 May 2007 12:18:21 -0700 (PDT) Message-ID: Date: Tue, 22 May 2007 15:18:21 -0400 From: Denis To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] ssh "Failed to add the host to the list of known hosts" Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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 X-Archives-Salt: bb58c3c2-cbb7-4b4e-9b92-409f73d546b3 X-Archives-Hash: f552a25cd2dff1d5442fa63f326b56a9 For some reason, my SSH (openssh-4.5_p1-r1) refuses to remember any hosts I connect to, and even if I keep connecting to the same machine over and over, it still wants me to OK the RSA fingerprint manually. Here's the verbose output when I try to connect to a known machine: ssh -v XXXXXX.xxxxxx.xxx OpenSSH_4.5p1, OpenSSL 0.9.8d 28 Sep 2006 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to XXXXXX.xxxxxx.xxx [xxx.xxx.xx.xx] port 22. debug1: Connection established. debug1: identity file /home/myuser/.ssh/identity type -1 debug1: identity file /home/myuser/.ssh/id_rsa type -1 debug1: identity file /home/myuser/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH_3.* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_4.5 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-cbc hmac-md5 none debug1: kex: client->server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY The authenticity of host 'XXXXXX.xxxxxx.xxx (xxx.xxx.xx.xx)' can't be established. RSA key fingerprint is (SOME RSA KEY GOES HERE) Are you sure you want to continue connecting (yes/no)? yes Failed to add the host to the list of known hosts (/home/myuser/.ssh/known_hosts). debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/myuser/.ssh/identity debug1: Trying private key: /home/myuser/.ssh/id_rsa debug1: Trying private key: /home/myuser/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: password It would not create any files under my /home/myuser/.ssh/ directory. When I tried to create a file there manually, it said permission denied. Do I need to be added to some group to fix these permissions? -- gentoo-user@gentoo.org mailing list