Setting up an ssh private key file
On the server Linux system, generate keys.
mkdir ~/.ssh /* if you do not have this directory already */
chmod 700 ~/.ssh
ssh-keygen -t rsa
Accept the default location and press Return key for passphrase
Generating public/private rsa key pair.
Enter file in which to save the key (~/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ~/.ssh/id_rsa.
Your public key has been saved in ~/.ssh/id_rsa.pub.
Transfer key to remote system.
Copy ~/.ssh/id_rsa to a secure location on windows. You will specify this file in the Remote Execution > Compute Grid settings page in the Preferences dialog.
Add public key to server list.
cp ~/.ssh/authorized_keys ~/.ssh/authorized_keys_Backup
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
Make keys secure.
chmod 600 ~/.ssh/authorized_keys
Test that you can connect to remote Linux system without a password.
a. Open PuTTY.
b. Enter the hostname in the PuTTY Configuration dialog.
c. Go to the SSH > Auth category.
d. Enter the keyfilename (that was transferred) in the Private key file for authentication field.
e. Press Open.
Legal Notice | Contact Certara
© Certara USA, Inc. All rights reserved.