I’m still trying to port ssh-1.2.27 to QNX4. The very helpfull instruction is here. If I overcome the perills - I’ll try to port ssh-1.2.33 (the latest before the deprecation of ssh v1.x) basing on the experience gained on the way.
Everything goes well untill it starts linking the sshd (ssh builds and even works!) - and then it stops with the “Symbol undefined getspnam_()” error.
The referenced symbol is a password management command, seems to be in crypt.lib or whereever. Please help to find it.
The trailing _ seems suspicious. Take a look at where in the source this is referenced and check if it says getspnam() or getspnam_()? It may just be the naming convertion used by watcom’s linker, but usually the linker spits out errors in a form which matches the C name.
OK, using the same instructions it is quite easy to build ssh-1.2.33.
I did it.
The only glitch found so far is that when I logout - the shell on the remote side quits but ssh does not. One can see the ESTABLISHED tcp/ip session between the hosts. (Note: I test it connecting to localhost yet)
The ssh-1.2.27 does not have this misbehaviour, but I see “Exited on signal -1” every time I logout. Is it normal?
hmm, I thought the “logout hang” problem only exists in the openssh. sounds like ssh-1.2.27 “borrowed” some codes from openssh, including this “bug”
You may want to try the “fix” for openssh, check the openqnx project site at sourceforge.