Re: sshd and kernels > 2.6.8

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: Phoenix LUG
Subject: Re: sshd and kernels > 2.6.8
Am 28. Dec, 2004 schwätzte Nathan England so:

> Anyone having trouble using sshd and any kernels over 2.6.7 ?
> I've read some discussion about it, but nothing so far helps my problem of not
> being able to connect to anything...


I've been using 2.6.8 since about the time it came out and 2.6.9 on at
least one box. ssh works fine on all of them. arts is misbehaving on the
2.6.9 box, but that's a different topic...

> I have a couple servers where I have my id_rsa.pub file included in the
> authorized keys and I can log in as normal, but when a password is required,
> it says:
>
> nathan@deadsoul:~$ ssh nathan@fallout
> ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
> Permission denied, please try again.
> ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
> Permission denied, please try again.
> ssh_askpass: exec(/usr/libexec/ssh-askpass): No such file or directory
> Permission denied (publickey,password,keyboard-interactive).


sh-askpass - under X, asks user for a passphrase for ssh-add

ssh-askpass shouldn't be necessary. Check ~/.ssh/config and
/etc/ssh/ssh_config to see if you've got an option requiring the GUI.

Kernel version shouldn't matter, but that doesn't mean it doesn't.

/usr/libexec/ doesn't even exist on my boxen.

> But under kernel 2.6.7 it works fine.
> Also, when I try to start sshd under 2.6.10 it says it can't find the
> file /etc/ssh/sshd_config
> which doesn't exist, but under 2.6.7 it works okay, not asking for the file.


Hmm, the question here is, "Why don't you have a config file for sshd?" :)

Does touching the file get rid of the error?

Again, kernel version really shouldn't matter.

> I've tried upgraded packages, I've tried removing the slack pack and
> installing from source... nothing seems to work. Only going backwards in the
> kernel tree...


Can you look at the kernel compile options for each of the kernels you're
using? Maybe some feature was turned on or off.

ciao,

der.hans
-- 
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  "Peace cannot be kept by force. It can only be achieved by understanding."
#    -- Albert Einstein
---------------------------------------------------
PLUG-discuss mailing list - 
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss