LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (https://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   ssh-keygen and path issue (https://www.linuxquestions.org/questions/other-%2Anix-55/ssh-keygen-and-path-issue-700557/)

pgte3 01-28-2009 12:22 PM

ssh-keygen and path issue
 
I am new to UNIX, and I am trying to run the following command:

/techsupp/OSP17864/usr/lib/ssh> ssh-keygen -t rsa
(rand child) Couldn't exec '/usr/lib/ssh/ssh-rand-helper': EDC5129I NO SUCH FILE OR DIRECTORY.
ssh-rand-helper child produced insufficient data

The program ssh-keygen is looking for ssh-rand-helper in a location that is does not exist (see below), how do I get the program ssh-keygen to find ssh-rand-helper in the location where it does exist (see below). A ln of some type?

/usr/lib/ssh> ls -a
. ..


/techsupp/OSP17864/usr/lib/ssh> ls -a
. .. IBM sftp-server ssh-askpass ssh-keysign ssh-rand-helper

tronayne 01-29-2009 05:58 AM

You can simply make a symbolic link; e.g.,
Code:

su -
cd /usr/lib/ssh
ln -s where-ssh-rand-helper-is .

However, it might be a good idea to check out why that utility is missing before going too far.

pgte3 01-29-2009 07:03 AM

Thanks, I will try this. I will also try to figure out why the install did not "work" correctly.


All times are GMT -5. The time now is 06:58 PM.