#644929 gridengine-exec: Cannot use qrsh/qlogin with ssh

Package:
gridengine-exec
Source:
gridengine
Description:
Distributed resource management - Execution Server
Submitter:
moloney
Date:
2011-10-12 19:24:05 UTC
Severity:
important
#644929#5
Date:
2011-10-10 19:32:55 UTC
From:
To:
Using either qrsh or qlogin fails every time with an error like the
following:

Bad packet length 1379537843.
Disconnecting: Packet corrupt

The setup is the defualt (use 'sshd -i' as the daemon). I can spawn a normal
sshd daemon with 'sshd -p <port>' and connect to that port using key based
auth. I am not sure how to test sshd with the '-i' option.

#644929#10
Date:
2011-10-11 18:51:46 UTC
From:
To:
I was able to narrow this down to only occuring when users have a shared home directory (in our case NFS mounted) and some kind of public key authentication for ssh (either user based or host based). Since public key authentication is required for things like qsub, I don't see any good workarounds.

Performing a normal ssh connection always works fine.

Thanks,
Brendan Moloney

#644929#15
Date:
2011-10-12 19:21:35 UTC
From:
To:
I have discovered that the root cause of this error is any pam module writing to stderr.

Thanks,
Brendan Moloney