Operating System - HP-UX
1827808 Members
2219 Online
109969 Solutions
New Discussion

problems installing openssh 4.2

 
Belinda Dermody
Super Advisor

problems installing openssh 4.2

I ran into a error message while swinstall openssh4.2 from the archive site. I installed ssl and zlib as required. But when I installed the openssh package I get the following error message.
ERROR: Unknown owner and/or group for file "/usr/local/libexec/ssh-keysign". SUID and/or SGID bit was not set.



ssh-keysign has permissions of rwx--x--x

I gave it a suid with a chmod of 4711 but I still got the error.
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: problems installing openssh 4.2

Hi James:

You need to assign a valid owner:group with 'chown' and then 'chmod'. For example:

# chown root:sys /usr/local/libexec/ssh-keysign
# chmod 4755 usr/local/libexec/ssh-keysign

Regards!

...JRF...
Rick Garland
Honored Contributor

Re: problems installing openssh 4.2

I have rwsr-xr-x for the perms
root-bin for owners

Rick Garland
Honored Contributor

Re: problems installing openssh 4.2

I have rwsr-xr-x for the perms
root-bin for owners

After making the changes, stop/start the sshd process.
Belinda Dermody
Super Advisor

Re: problems installing openssh 4.2

Guys, I did as you suggested (I already did it earlier but I did it again) and you know what is funny. I gave it the chmod of 4755 and after I ran the swinstall -x reinstall=true -s *.depot it came back with the same error message and when I did a ls -l of the ssh-keysign it was changed back to 511. The owner group is root:bin
James R. Ferguson
Acclaimed Contributor

Re: problems installing openssh 4.2

HI (again) James:

So, having (re)run the installation, now manually issue the 'chown' and 'chmod'.

Regards!

...JRF...
Belinda Dermody
Super Advisor

Re: problems installing openssh 4.2

Jim, I did that already, and the ssh -V version in /opt/ssh is still version 3.1 It never over wrote the existing files. WHat about if I do a swremove of the existing package. I have to keep the etc directory as a backup because it has all the keys and host files and config files that I need to copy back...
Belinda Dermody
Super Advisor

Re: problems installing openssh 4.2

I finally went to the hp.com software download and downloaded
T1471AA_A.04.20.004_HP-UX_B.11.00_32+64.depot and loaded this and everything came up fine...