Problems building host keys on some SPARCs

MSCS Technician tech at mscs.mu.edu
Sat Feb 19 02:09:13 EST 2000


Thanks for your response.  Here's some new info.

>> root at sylow:/source/USR_LOCAL/OFFICIAL/OPENSSH/ssh_client# ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N ''
>> ksh: ssh-keygen: cannot execute
> I suspect the above error could result from
> the use of "ssh-keygen" as opposed to "./ssh-keygen".
> Root should not have "." in its PATH setting. Looks that some of your hosts
> do have "." in root PATH and others don't.

This appears to have been the result of the same problem others were
having with scp.  --with-default-path was needed to get that working
properly.

>> root at sylow:/source/USR_LOCAL/OFFICIAL/OPENSSH/ssh_client# sh build_host_key
>> /usr/local/bin/ssh-keygen: syntax error at line 1: `(' unexpected
> The next error message looks like one when I try to run
> binaries meant for a different OS.
> In your case, it is possible that you may have tried to run
> binary, meant for Solaris 2.x (  SunOS 5.x ) on Ultra, on
> SunOS 4.1.4 (or older?).

The only problem with this hypothesis is that both machines, the working
and the broken, run Solaris 7.  

I am trying to use a single set of executables NFS mounted.  Recompiling
it on the broken machines didn't help.

They do have different kernel architectures: the ultras and enterprise 
servers that work are sun4u, the sparcstations that aren't working are sun4m.
This wasn't a problem with the commercial ssh-1.2.27 though.

As strange as it seems, is it possible there's something going on with 
sun4m only?


Thanks,

-Robb







More information about the openssh-unix-dev mailing list