I have a Linux box running the Ensim web hosting software. Users on virtual accounts are required to log in using domain-qualified usernames like "user@host.com", for instance: ssh hostname -l user@host.com This worked with SSH version 2.9p2-11.7 but fails with 3.1p1. I tracked the problem down to a change at line 376 in auth1.c: /* XXX - SSH.com Kerberos v5 braindeath. */ if ((p = strchr(user, '@')) != NULL) *p = '\0'; Commenting out that code fixes the problem, although now I'm having a problem with pty allocation. Sigh. -britt
Okay, commenting out those lines definitely solved the problem. The pty issue happened because I didn't configure with PAM, and evidently Ensim has done something sneaky there. So, definitely a problem. -britt
Created attachment 61 [details] this should help, but patch needs some more work
Created attachment 66 [details] what about this? please test
I will test this on my system today, but I have no way to test whether Kerberos V5 still works after the fix. -britt
Yes, that patch fixes the problem on my system. Again, I can't speak for Kerberos though. Thanks! -britt
patch commited (some time ago)
Mass change of RESOLVED bugs to CLOSED