Operations Orchestration Support and News Forum
Showing results for 
Search instead for 
Do you mean 

ssh key based login

SOLVED
Go to Solution
Occasional Contributor

ssh key based login

Hi,

 

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?

 

Additional info:

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).

 

Thanks,

SweeAun LIM

BSA PreSales, Singapore.

 

1 ACCEPTED SOLUTIONS
Highlighted

Re: ssh key based login

Hello,

 

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.

 

Dan.

1 REPLIES
Highlighted

Re: ssh key based login

Hello,

 

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.

 

Dan.