05-14-2012 02:25 AM
Customer uses public/private key pairs for their ssh access to Linux systems.
a. How to configure OO flows (running ssh scripts) to use keys?
in other words:
b.how to setup public/private key pair between OO and Linux system, so that no username/password is needed?
I have managed to configure putty in OO server - on Windows Svr,
to use these keys, so I can putty to target RedHat server without username/login
(by setting up public/private key between putty and RedHat).
BSA PreSales, Singapore.
Solved! Go to Solution.
05-14-2012 12:33 PM
First make sure the key generated form PuttyGen is type SSH-2 RSA or SSH-2 DSA. The SSH-1 RSA is not supported.
Copy and paste the public key somewhere, you'll need it on the target RedHat server. Add the string to the .ssh/authroized_keys file of the desired user's home directory.
Export the private key from PuttyGen with the Conversions menu -> "Export OpenSSH Key"
Place this file on the RAS. For the privateKeyFile input, specify the path to this file. User's username is still required. When a privateKeyFile is specified, the password input becomes the passphrase input for the private key file. If no passphrase was specified for the key file, anything can be used in the input.