I installed ssh 3.6.1p1 on Tru64 V5.0A. The following command from make install failed: /usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config bad addr or host: <NULL> (servname not supported for ai_socktype)
Is this anything like bug #533? Try adding -4 to the sshd command line.
I still get the same error with -4 on the command line.
OK then, please run sshd in debug mode (eg "sshd -ddd -p 2022") then add the output as an attachment to this bug.
This is the output: root@proxy3> /usr/local/sbin/sshd -ddd -p 2022 debug3: Seeding PRNG from /usr/local/libexec/ssh-rand-helper debug2: read_server_config: filename /usr/local/etc/sshd_config bad addr or host: <NULL> (servname not supported for ai_socktype)
Could you try adding a "#define BROKEN_GETADDRINFO 1" to config.h and then doing a "make clean ; make" (don't rerun configure after adding the #define)
Add the following line to the /etc/services ssh 22/tcp It worked for me. This problem occured on one alpha, but not my other alpha. I do not know what differences caused the problem. But I had to add this line to the alpha that returned the error. I used the identical sources to install on both machines. Tis a mystery that I do not have time to solve.
Adding "#define BROKEN_GETADDRINFO 1" to config.h fixed the problem. ssh is installed and working. Thank you!
Should we be defining BROKEN_GETADDRINFO in configure for Tru64?
shouldn't this compiler warning be fixed first?? : cc: Warning: session.c, line 635: In this statement, the referenced type of the pointer value "&fromlen" is "unsigned long", which is not compatible with "int". (ptrmismatch) (struct sockaddr *) & from, &fromlen) < 0) { ------------------------------------------------^
Fix that warning how? SuSv2 defines getpeername [1] as: int getpeername(int socket, struct sockaddr *address, socklen_t *address_len); and in session.c, fromlen is declared as socklen_t. Why does Tru64 think that the 3rd argument should be an int? [1] http://www.opengroup.org/onlinepubs/007908799/xns/getpeername.html
Mass change of RESOLVED bugs to CLOSED