From owner-freebsd-questions@freebsd.org Sat Sep 14 16:32:45 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E801AF91CE for ; Sat, 14 Sep 2019 16:32:45 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from corvid.alerce.com (corvid.alerce.com [206.125.171.163]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46Vyj83jcGz4B0h; Sat, 14 Sep 2019 16:32:44 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from postfix.alerce.com (99-189-172-214.lightspeed.sntcca.sbcglobal.net [99.189.172.214]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by corvid.alerce.com (Postfix) with ESMTPSA id 8953239CC7; Sat, 14 Sep 2019 09:32:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alerce.com; s=dkim; t=1568478756; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YIE1Qo9CcpnQBUjnVmISWVYfuUeN+KYdRbygEhSzmZE=; b=j27FaXTOdnnEaVwyZh9yquvw3Ih7cRJOQjCWHMCkrHzIlllqQP/vLlc3wwk4Bo5zmuwNiG IcwL1dr6oxJ8Ohguy/ZqKT6b2twHL/BGHyNXUtq+hTiLwxDYGaqO3sL9FVVRrUZPNHPCEl C/Eli0b5A6iSDg0D+TqFEfsPTnoymwrui3yO6DRadLcbBBw7vicw8x3iuy5cUl0uPf7Yuk 01xfZ8D3ISlfaQFR7Xzq35eJTvjeCo0eC1kaXgbUmu9O//skvqn/wECnf0y2EJShRSEieZ mxraTA+uFIwv8C7BlLn/pV1fU8gIW04wtCSkD1Lv383AcIwbvEkm+5m3rUsTfg== Received: by postfix.alerce.com (Postfix, from userid 501) id 0F60220120C92A; Sat, 14 Sep 2019 09:32:12 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23933.5643.967722.26350@alice.attlocal.net> Date: Sat, 14 Sep 2019 09:32:11 -0700 To: Aryeh Friedman Cc: Matthew Seaman , FreeBSD Mailing List Subject: Re: OT: My ssh authorized_keys doesn't work with nfs/nis In-Reply-To: References: <0b5eed49-986a-d40e-7df9-971a47cb500e@FreeBSD.org> X-Mailer: VM undefined under 26.1 (x86_64-apple-darwin14.5.0) Reply-To: hartzell@alerce.com X-Rspamd-Queue-Id: 46Vyj83jcGz4B0h X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=alerce.com header.s=dkim header.b=j27FaXTO; dmarc=pass (policy=none) header.from=alerce.com; spf=pass (mx1.freebsd.org: domain of hartzell@alerce.com designates 206.125.171.163 as permitted sender) smtp.mailfrom=hartzell@alerce.com X-Spamd-Result: default: False [-5.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[alerce.com:s=dkim]; HAS_REPLYTO(0.00)[hartzell@alerce.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[alerce.com:+]; DMARC_POLICY_ALLOW(-0.50)[alerce.com,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.43)[ip: (-7.38), ipnet: 206.125.168.0/21(-4.41), asn: 25795(-0.29), country: US(-0.05)]; ASN(0.00)[asn:25795, ipnet:206.125.168.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Sep 2019 16:32:46 -0000 Aryeh Friedman writes: > [...] > I don't think you can make them any tighter then this and not get errors: > > aryeh% id > uid=1001(aryeh) gid=1001(aryeh) groups=1001(aryeh),0(wheel),1003(aegis) > aryeh% ls -ld .ssh > drwx------ 2 aryeh aryeh 512 Sep 14 06:49 .ssh > aryeh% ls -l .ssh > total 16 > -rw------- 1 aryeh aryeh 792 Sep 14 05:02 authorized_keys > -rw------- 1 aryeh aryeh 1675 Aug 30 11:09 id_rsa > -rw------- 1 aryeh aryeh 396 Aug 30 11:09 id_rsa.pub > -rw------- 1 aryeh aryeh 545 Sep 14 03:19 known_hosts > > How about permissions on your home directory? Might they be too loose? g.