From owner-freebsd-questions Mon Mar 17 9: 4:39 2003 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 34A7C37B401 for ; Mon, 17 Mar 2003 09:04:37 -0800 (PST) Received: from mx1.clickcom.com (mx2.clickcom.com [209.198.22.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF9C43FAF for ; Mon, 17 Mar 2003 09:04:36 -0800 (PST) (envelope-from jsmailing@clickcom.com) Received: from aesop (calefaction.clickcom.com [209.198.22.19]) by mx1.clickcom.com (email) with ESMTP id 0F4A856873; Mon, 17 Mar 2003 12:04:36 -0500 (EST) From: "John Straiton" To: "'Rob Evers'" Cc: Subject: RE: SSH woes Date: Mon, 17 Mar 2003 11:59:19 -0500 Message-ID: <002101c2eca6$90242790$1916c60a@win2k.clickcom.com> 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 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <3E75FBD8.9040904@debank.tv> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >I continue to have problems with SSH authentication. The behavior is > >outside the normal I'm used to. Here's what's going on: > > > >I'm trying to ssh from MACHINE1 to MACHINE2 as user "testuser". > > > >Now here's the funny thing: > > > > > >>su > >> > >> > >Password: > >MACHINE1# ssh 209.198.xxx.xxx -l testuser > >Password: > >Last login: Mon Mar 17 11:17:05 2003 from chasm > >Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 > > The Regents of the University of California. All rights > >reserved. > > > > > > > >Now on the same machine: > > > > > >>exit > >> > >> > >#su testuser > >%ssh 209.198.xxx.xxx > >Permission denied, please try again. > >Permission denied, please try again. > >Permission denied (publickey,password,keyboard-interactive). > >% > > > >Why in the world would the login prompted for a password when I'm as > >root specifying a login, and then I wouldn't even be prompted for a > >password when I'm su'ed as the user? > > > >I thought at first maybe it was because this account *used to* > >auto-login, however if you look at the remote machine's > >/home/testuser/.ssh directory, it's empty (ie , no > authorized_keys). > >On the client machine, it's only got "known_hosts" in there. > > > >Thoughts? I'm attaching the verbose debug for the client side as the > >user & as root > > > >John Straiton > >jks@clickcom.com > >Clickcom, Inc > >704-365-9970x101 > > > > > > > > > Hi John > > Try su - testuser, this set your enviromen as well. > > Rob > > Thanks for the suggestion, however: # su - testuser %ssh 209.198.22.23 Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password,keyboard-interactive). % Any other ideas? I swear, I've pulled *all* the hairs out on this one. John Straiton jks@clickcom.com Clickcom, Inc 704-365-9970x101 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message