Re: sshd and kernels > 2.6.8

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Eric \"Shubes\"
Date:  
To: plug-discuss
Subject: Re: sshd and kernels > 2.6.8
Nathan England wrote:
> Also, the 'man' command no longer works.
> I reinstalled the sshd package and it replaced the ssh_config file, which says
> nothing about ssh-askpass or anything.
>
> nathan@deadsoul:~$ man ssh
> Error executing formatting or display command.
> System command (cd /usr/man && (echo ".ll 15.1i"; echo ".pl
> 1100i"; /bin/gunzip -c '/usr/man/man1/ssh.1.gz'; echo ".\\\""; echo ".pl
> \n(nlu+10") | /usr/bin/gtbl | /usr/bin/nroff -S -mandoc | /usr/bin/less -is)
> exited with status 256.
> No manual entry for ssh

Looks like time to dissect the System command reported to be errant.

The first thing I notice is that parentheses appear to be unbalanced.
Is that due to a defect in reporting the command, or in the command
itself? The left parenthesis at "(echo" appears to be unmatched.
I don't know where this system command resides (or is generated), but
I'd look there first.

Next, do all the files referenced in the command exist? If not, which
ones? The last part of the error message would lead you to believe that
it's /usr/man/man1/ssh.1.gz which doesn't exist. I wouldn't be too sure
without checking, along with permissions.
>
>
> But under 2.6.7 it works just peachy!
>
> The only thing I changed in my kernel between subversions is I enabled the
> ondemand cpu scheduler.
>
> ???
>
> On Tuesday 28 December 2004 17:40, der.hans wrote:
>
>>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
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>



-- 
-Eric 'shubes'
"There is no such thing as the People;
  it is a collectivist myth.
  There are only individual citizens
  with individual wills
  and individual purposes."
-William E. Simon (1927-2000),
     Secretary of the Treasury (1974-1977)
  "A Time For Truth" (1978), pg. 237



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss