Jump to content
Sign in to follow this  

How do I set up ssh to enable password free logins for use with HP-MPI?

Recommended Posts

HP-MPI requires a remote shell command to spawn remote processes. AcuSolve allows users to select this remote shell via the -rsh command line parameter. This allows users to use standard UNIX/Linux utilities such as rsh or ssh in addition to custom wrapper scripts that may be necessary on some systems. Although this provides a high level of flexibility, most systems simply use ssh to perform the remote shell calls. However, this requires that the system be set up to permit password free logins. To accomplish this, the following procedure should be followed. 

Execute the following sequence of commands from a shell prompt: 
$ ssh-keygen -t dsa 
Press return when prompted for a password (i.e. leave it blank). 
$ cd ~/.ssh 
$ cat id_dsa.pub >> authorized_keys 
$ chmod go-rwx authorized_keys 
$ chmod go-w ~ ~/.ssh 
$ cp /etc/ssh/ssh_config $HOME/.ssh/config 
$ echo "CheckHostIP no" >> $HOME/.ssh/config 
$ echo "StrictHostKeyChecking no" >> $HOME/.ssh/config 

It may be necessary to repeat the above procedure using rsa instead of dsa (i.e. ssh-keygen -t rsa)


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...