...
Paraview can be a little difficult to set up, particularly on Windows machines. First off, you must have passwordless SSH setup. There is no way to type a password when Paraview connects so this step is crucial. Second, you must pass Duo 2-factor credentials. Since there is no prompting the DUO_PASSCODE
variable must be set in order to pass a code to Duo when Paraview connects via ssh. This can be handled via the paraview connection settings for Mac and Linux, but not on Windows. Windows systems require a hardcoded value be set prior to launching Paraview. This can be done in Putty by setting the DUO_PASSCODE
variable in the session section of the settings.
Go to the Data section of Connection and add the DUO_PASSCODE
variable.
Click Add
and your screen should look like the following.
Go back to the Session
category, select Default Settings
, or whichever session is associated with the HPC system, and press Save
.
That will then have Duo send a push notification to your device whenever an ssh session is initiated. Note that you will need a smartphone or tablet for this to workSee the Two-factor authentication page for details.