Hey there -- my scenario is this:
I've got a RH6.1 machine running 2.3.0p1.
If I connect in using protocol2, both DSA auth and password auth work
correctly, and I get port forwarding as well as X11 forwarding.
If I connect in using protocol1, password auth works correctly, as well.
If I connect in using protocol1 and RSA auth, the sshd refuses to do pty
allocation or X11 forwarding, and hangs before it ever gets to an
interactive session, though it claims that it's about to:
>> debug: Remote: RSA authentication accepted.
>> debug: RSA authentication accepted by server.
>> debug: Requesting pty.
>> Warning: Remote host failed or refused to allocate a pseudo tty.
>> debug: Requesting X11 forwarding with authentication spoofing.
>> debug: Remote: X11 forwarding not permitted for this authentication.
>> Warning: Remote host denied X11 forwarding.
>> debug: Requesting authentication agent forwarding.
>> debug: Requesting shell.
>> debug: Entering interactive session.
and on the server side:
#> debug1: Starting up PAM with username "adam"
#> debug1: Attempting authentication for adam.
#> Accepted rsa for adam from 10.3.4.230 port 27755
#> debug1: PAM setting rhost to "foo.bar.com"
#> debug1: session_new: init
#> debug1: session_new: session 0
#> debug1: Allocating a pty not permitted for this authentication.
#> debug1: Received authentication agent forwarding request.
#> debug1: fd 3 setting O_NONBLOCK
#> debug1: fd 3 IS O_NONBLOCK
#> debug1: channel 0: new [auth socket]
#> debug1: PAM establishing creds
#> debug1: Entering interactive session.
#> debug1: fd 8 setting O_NONBLOCK
#> debug1: fd 8 IS O_NONBLOCK
#> debug1: fd 10 setting O_NONBLOCK
#> debug1: server_init_dispatch_13
#> debug1: server_init_dispatch_15
After it taunts me like so, the connection hangs, never actually getting to
an interactive state again.
from my sshd_config:
> X11Forwarding yes
> RSAAuthentication yes
Either this is a genuine bug or I haven't had enough coffee this morning
and shouldn't be at a root prompt. Anyone else able to replicate this?
Adam
--
Love is an exploding cigar we willingly smoke. - Lynda Barry
adam hirsch <> [EMAIL PROTECTED]