Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Mar 2003 11:59:19 -0500
From:      "John Straiton" <jsmailing@clickcom.com>
To:        "'Rob Evers'" <rob@debank.tv>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   RE: SSH woes
Message-ID:  <002101c2eca6$90242790$1916c60a@win2k.clickcom.com>
In-Reply-To: <3E75FBD8.9040904@debank.tv>

next in thread | previous in thread | raw e-mail | index | archive | help
> >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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002101c2eca6$90242790$1916c60a>