Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot connect: "login: no such file or directory"

2 views
Skip to first unread message

sinister

unread,
Dec 1, 2007, 7:01:22 AM12/1/07
to
I'm trying to connect from one box to another. Both boxes are openSUSE
Linux.

The box with sshd is openSUSE 10.3, with openssh-4.6p1-58.1 installed. I
borrowed my sshd_config file from an openSUSE 10.2 box, for which everything
works fine.

I started up sshd on the 10.3 box, and tried to connect from the 10.1 box.
I get the message of the day, then I'm prompted for a password. But then I
get this error:
login: No such file or directory
and then the connection closes.

Right now in the sshd_config file, I’m using (among other choices)
PasswordAuthentication yes
ChallengeResponseAuthentication no
usepam no
uselogin yes

I can't figure out where the error is coming from; doing extra logging for
the client and the server didn't help much, though I can post that here if
it would help.

TIA,

S


Richard E. Silverman

unread,
Dec 1, 2007, 1:35:41 PM12/1/07
to
>
> I'm trying to connect from one box to another. Both boxes are openSUSE
> Linux.
>
> The box with sshd is openSUSE 10.3, with openssh-4.6p1-58.1 installed. I
> borrowed my sshd_config file from an openSUSE 10.2 box, for which everything
> works fine.
>
> I started up sshd on the 10.3 box, and tried to connect from the 10.1 box.
> I get the message of the day, then I'm prompted for a password. But then I
> get this error:
> login: No such file or directory
> and then the connection closes.
>
> Right now in the sshd_config file, I’m using (among other choices)
> PasswordAuthentication yes
> ChallengeResponseAuthentication no
> usepam no
> uselogin yes

Try uselogin=no.

> I can't figure out where the error is coming from; doing extra logging for
> the client and the server didn't help much, though I can post that here if
> it would help.


--
Richard Silverman
r...@qoxp.net

sinister

unread,
Dec 3, 2007, 2:10:38 PM12/3/07
to

"Richard E. Silverman" <r...@qoxp.net> wrote in message
news:m2k5nyc...@darwin.oankali.net...

>>
>> I'm trying to connect from one box to another. Both boxes are openSUSE
>> Linux.
>>
>> The box with sshd is openSUSE 10.3, with openssh-4.6p1-58.1 installed. I
>> borrowed my sshd_config file from an openSUSE 10.2 box, for which
>> everything
>> works fine.
>>
>> I started up sshd on the 10.3 box, and tried to connect from the 10.1
>> box.
>> I get the message of the day, then I'm prompted for a password. But then
>> I
>> get this error:
>> login: No such file or directory
>> and then the connection closes.
>>
>> Right now in the sshd_config file, I’m using (among other choices)
>> PasswordAuthentication yes
>> ChallengeResponseAuthentication no
>> usepam no
>> uselogin yes
>
> Try uselogin=no.

Thanks; that worked.

0 new messages