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.
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/id_rsa.pub. 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 (194.194.194.194)' 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,194.193.148.159' (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 abdon<51>
$ssh-copy-id -i .ssh/id_rsa.pub colossusNow try logging into the machine, with ssh colossus, and check for the key in:
.ssh/authorized_keys
$ssh colossus Last login: Mon Jan 17 14:00:52 2011 from| naimh.london.cdadapco.com