HPC/Network Access/WinSCP Configuration

From CNM Wiki
Jump to navigation Jump to search

WinSCP is an open source client for secure file transfers on Windows. In addition, WinSCP can use PuTTY when installed to open a command line session on a remote computer. For basic use, sharing WinSCP settings with PuTTY is actually simpler than configuring and using port forwarding in PuTTY itself.

Configuring

The following steps need to be performed once for each workstation you wish to use to access Carbon.

  1. Open WinSCP. The WinSCP Configuration window will appear.
    HPC 2012-10 WinSCP config 1 new.png
    Configuration panels will appear in the main part of the window on the right-hand side. The panels are organized in a tree shown in the left-hand side of the window. Each panel can be reached by clicking on the leaf names of the tree.
  2. Click Advanced options beneath the tree.
  3. Click Tunnel under the newly shown Connection branch of the tree.
  4. Click Connect through SSH tunnel at the top of the panel.
  5. Enter mega.cnm.anl.gov as Host name and your Argonne username and password in the fields on the right. Leave other options as is.
    HPC 2012-10 WinSCP config 2 mega.png
  6. Click Session at the top of the tree.
  7. Enter clogin as Host name and your Argonne username and password in the fields on the right. Leave other options as is.
    • Push Save… and name this session "Clogin".
    HPC 2012-10 WinSCP config 3 clogin.png

Connecting

File transfer

  1. From the WinSCP Configuration window, select the session named Clogin and push Login.
  2. A small progress window appears. The first time, you will be asked to confirm and store two server host keys, the first for mega, the second for clogin. Compare the key fingerprints and push Yes if they match.
    HPC 2012-10 WinSCP connect 10 mega.png HPC 2012-10 WinSCP connect 11 clogin.png
  3. When prompted, enter your Argonne account password. You have several attempts to get it right. After too many attempts, your account will be temporarily locked.
  4. Use the main WinSCP interface to transfer files in either direction.

Auxiliary terminal access

If you have PuTTY installed in addition to WinSCP, once you have opened a WinSCP connection you can open one or more interactive (command line) sessions without further configuration.

  1. Select Open in PuTTY from the WinSCP Commands menu or click the PuTTY icon in the WinSCP tool bar.
    HPC 2012-10 WinSCP config 12 PuTTY integration.png