LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' (http://www.linuxquestions.org/questions/linux-software-2/error-cannot-find-ssh-keygen-in-sbin-bin-usr-sbin-usr-bin-usr-x11r6-bin-933380/)

venu.navat 03-08-2012 03: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 03:12 AM

install openssh.

venu.navat 03-08-2012 03: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 04: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 05:28 PM.