From owner-freebsd-questions@FreeBSD.ORG Mon Jun 9 10:02:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8A3337B401 for ; Mon, 9 Jun 2003 10:02:26 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0531D43FD7 for ; Mon, 9 Jun 2003 10:02:26 -0700 (PDT) (envelope-from tpark@drivespeed.com) Received: (qmail 54129 invoked from network); 9 Jun 2003 17:02:25 -0000 Received: from unknown (HELO titanium) (209.10.208.162) by relay.pair.com with SMTP; 9 Jun 2003 17:02:25 -0000 X-pair-Authenticated: 209.10.208.162 From: "Thomas Park" To: "'John Straiton'" , Date: Mon, 9 Jun 2003 10:02:35 -0700 Message-ID: <001201c32ea8$ecca9a30$11640a0a@titanium> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <000f01c32ea8$23a95830$1916c60a@win2k.clickcom.com> Subject: RE: /dev/tty keeps changing permissions..? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 17:02:27 -0000 Hi John, > > I'm pretty sure the ssh problem is with /dev/tty - I've > > scoured quite a > > few message boards and newsgroups looking for a solution to the SSH > > problem. The symptom:a user who doesn't currently own > > /dev/tty attempts > > to open an outbound SSH session and gets a permission denied > > error with > > an error message along the lines of "Host key verification > > failed." SCP > > likewise doesn't work. > > That error message is usually because you're ssh'ing to boxen whos > public key has changed. > I should have mentioned that the account I was using for ssh DOES have a correct host key entry for the remote host - the error message is itself erroneous. Although I think we're getting on track here - it looks like the problem is happening when I su into a different account and try to ssh from the su'ed account (which also has the host key) - after su'ing, the tty device remains owned by the base user with respect to my new EUID, which appears to make ssh outbound break. thomas