Connector Guides › Connectors Guide › Connecting to Endpoints › Kerberos Connector › Kerberos Installation and Deployment › Install and Deploy the Connector › How to Set Up SSH Permissions for the Kerberos Connector › Generate an RSA Key Pair Using ssh-keygen
Generate an RSA Key Pair Using ssh-keygen
To use the connector on a Java CS host that is on Solaris 10 and not a member of the realm, use ssh-keygen to generate the key pair on the Java CS host.
To generate an RSA key pair using ssh-keygen
- On the Java CS host, enter the following command:
Ssh-keygen -b 1024 -t rsa
- When prompted, specify the file that you want to save the key in. For example, .ssh/sample.
- When prompted, enter and confirm the passphrase.
The RSA key pair is generated and the public key is created. For example, if you saved the key in .ssh/sample, the public key is created in .ssh/sample.pub, and the private key in .ssh/sample.
- In the home directory of account used by the connector to log in to the SSH Server host, create a directory named .ssh
- Copy the public key file to the SSH Server host.
- Verify that the .ssh/authorized_keys file in the home directory of the account that the connector use to log in exists, then do one of the following:
- If the .ssh/authorized_keys file exists, append the public key to the .ssh/authorized_keys file in the home directory of the account that the connector uses to log in.
- If the .ssh/authorized_keys does not exist, create the file, then append the public key to the .ssh/authorized_keys file in the home directory of the account that the connector uses to log in.
- Copy the public key file to the SSH Server host.
- On the Java CS Server host, copy the private key file to a directory that the Java CS has access to.
- If you want to manage a Kerberos endpoint using a Windows Java CS rather than a Kerberos Java CS, use etautil to assign the private key filename (with absolute or relative path) to eTKRBSSHPrivateKeyFile.