Simcenter STAR-CCM+ How to setup password less ssh on a Linux-to-Linux environment

Simcenter STAR-CCM+ Simcenter STAR-CCM+ Virtual Reality Teamcenter Share Simcenter Cloud HPC Simcenter STAR-CCM+ Viewer Simcenter STAR-CCM+ Application Specific Solutions


Password less ssh is a requirement for Simcenter STAR-CCM+ Client-Server connection through SSH tunnel. This article explains the procedure to set it up in a Linux to Linux environment.


Password less ssh is a requirement for Simcenter STAR-CCM+ Client-Server connection through SSH tunnel.

The procedure to set it up in a Linux-to-Linux environment is explained in the following lines. Please note that abdon, sakura and colossus are computer hostnames. If required, please replace them with your computer hostname. For Windows, please have a look at How to Set up Password-Free SSH from a Windows to a Linux Machine using Putty .
To set up password less ssh, first create a key pair without password (just keep hitting enter).
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/h/username/.ssh/id_rsa):
Created directory '/h/username/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /h/username/.ssh/id_rsa.
Your public key has been saved in /h/username/.ssh/
The key fingerprint is:
fd:63:14:f0:c3:0c:84:7b:80:1c:38:cf:c8:d8:ec username@abdon
Now try to log in to the computer using ssh. The first time you do this, it will ask you to confirm that you trust the machine. On any subsequent logins, this prompt will this question will not appear.
$ssh abdon
The authenticity of host 'abdon (' can't be established.
RSA key fingerprint is 03:34:67:15:e0:64:75:16:59:58:33:2d:bd:63:fa.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'abdon,' (RSA) to the list of known hosts.
Last login: Mon Jan 17 14:05:07 2011 from sakura
$ssh abdon
Last login: Mon Jan 17 14:05:30 2011 from sakura
ssh works with a private key and a public key. If the machines have different file systems (they most likely do) you need to copy your public key into the cluster (or other file system). Easy way uses ssh-copy-id
$ssh-copy-id -i .ssh/ colossus
Now try logging into the machine, with ssh colossus, and check for the key in:
to make sure we have not added extra keys.

After successfully generating and copying the keys, we can now access a computer without any passwords.
$ssh colossus
Last login: Mon Jan 17 14:00:52 2011 from|


KB Article ID# KB000031682_EN_US



Associated Components

Design Manager Electronics Cooling In-Cylinder (STAR-ICE) Job Manager Simcenter STAR-CCM+