-   Linux - Software (
-   -   Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' (

venu.navat 03-08-2012 04:09 AM

Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin'
I am getting below error while installing a package on Redhat Linux 5.5

# rpm -i nxserver-3.5.0-9.x86_64.rpm
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin'.
Error: Please make sure that 'ssh-keygen' is available.
Error: in any of the above directories.
error: %pre(nxserver-3.5.0-9.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping nxserver-3.5.0-9

Please kindly help in this regard.

acid_kewpie 03-08-2012 04:12 AM

install openssh.

venu.navat 03-08-2012 04:45 AM

It looks ssh-keygen is already installed as I was able to generate keys using command ssh-keygen. But while installing a package, I was getting the error.

venu.navat 03-08-2012 05:00 AM

Thanks. Issue got resolved.I moved ssh-keygen from "/opt/openssh-5.8p2/bin" to "/usr/bin".

All times are GMT -5. The time now is 04:07 AM.