abstract:caviness:system_access:windows

Connecting to Caviness from Windows

IT strongly recommends that you configure your clients as described in the online X-windows (X11) and SSH documents (Windows / Linux/MacOSX).

If you want to be able to use PuTTY command line on your Windows computer, first, install and configure the PuTTY client to connect a remote host. Now add the PuTTY install path to your Windows system PATH environment variable. This will allow you to use PuTTY's command line mode on your Windows computer.

IT strongly recommends that you configure your client as described in the online X-Windows (X11) and SSH document.
  1. Click Windows taskbar and type to search environment.
  2. Best match should be on Edit the system environment variables, click to open.
  3. In the Systems Properties window, it should be on the Advanced tab.
  4. In the System Properties window, click on Environment Variables… at the bottom of the window.
  5. In the Environment Variables window in the System variables (second box), click on Path to highlight, then click Edit….
  6. In the Edit environment variable window, click New. Type
    C:\Program Files (x86)\PuTTY\.
  7. Click OK to save and exit the Edit environment variable window.
  8. Click OK to exit the Environment Variables window.
  9. Click OK to exit the System Properties window.
  1. Click Start in the taskbar.
  2. Right-click on Computer, select Properties.
  3. In the System window, click on Advanced system settings on the left.
  4. In the System Properties window, click on Environment Variables….
  5. In the Environment Variables window, PATH should be highlighted, click Edit….
  6. In the Edit User Variable window, click in the Variable value: box and move to the end using the right arrow. Type
    ;C:\Program Files (x86)\PuTTY.
  7. Click OK to save and exit the Edit User Variable window.
  8. Click OK to exit the Environment Variables window.
  9. Click OK to exit the System window.

Please review PuTTY command line documentation for complete details if you would like to use it in a Windows cmd window.

In a Windows (cmd) window or adding a line to a batch script, use

putty.exe -ssh traine@caviness.hpc.udel.edu

or with X11 forwarding and running Xming, use

putty.exe -ssh -X traine@caviness.hpc.udel.edu

In a Windows (cmd) window or adding a line to a batch script, use

pscp traine@caviness.hpc.udel.edu:/lustre/scratch/traine/remote-file local-file

to copy a single file, remote-file, from account, traine, on the remote system, caviness.hpc.udel.edu, to local-file on your local system in the current directory, or

pscp -r traine@caviness.hpc.udel.edu:/lustre/scratch/traine/remote-dir local-dir

to copy an entire directory, remote-dir, from account, traine, on the remote system, caviness.hpc.udel.edu, to local-dir on your local system in the current directory.

In a Windows (cmd) window or adding a line to a batch script, use

pscp local-file traine@caviness.hpc.udel.edu:/lustre/scratch/traine/remote-file

to copy a single file, local-file, on your local system in the current directory, to account, traine, on remote host, caviness.hpc.udel.edu, in the specified directory for remote-file, or

pscp -r local-dir traine@caviness.hpc.udel.edu:/lustre/scratch/traine/remote-dir

to copy an entire directory, local-dir, on your local system in the current directory, to account, traine, on remote host, caviness.hpc.udel.edu, in the specified directory for remote-dir.

Please review PuTTY command line documentation for complete details if you would like to use it in a Windows cmd window. In the following examples, we have two saved sessions configured called caviness-traine and x-caviness-traine based on configuring your client as described in the online X-Windows (X11) and SSH document

In a Windows (cmd) window or adding a line to a batch script, use

putty.exe -load "caviness-traine"

or with X11 forwarding and running Xming, use a saved session configured with X11 forwarding

putty.exe -load "x-caviness-traine"

In a Windows (cmd) window or adding a line to a batch script using a saved session called caviness-traine with username traine and encryption cipher selection policy set to Arcfour (SSH-2 only), use

pscp caviness-traine:/lustre/work/it_css/traine/remote-file local-file

using arcfour cipher to copy a single file, remote-file, from account, traine, on the remote system, caviness.hpc.udel.edu, to local-file on your local system, or

pscp -r caviness-traine:/lustre/work/it_css/traine/remote-dir local-dir

using arcfour cipher to copy an entire directory, remote-dir, from account, traine, on the remote system, caviness.hpc.udel.edu, to local-dir on your local system.

In a Windows (cmd) window or adding a line to a batch script using a saved session called caviness-traine with username traine and encryption cipher selection policy set to Arcfour (SSH-2 only), use

pscp local-file caviness-traine:/lustre/work/it_css/traine/remote-file

using arcfour cipher to copy a single file, local-file, on your local system in the current directory, to account, traine, on the remote system, caviness.hpc.udel.edu, in the specified directory for remote-file on your remote system, or

pscp -r local-dir caviness-traine:/lustre/work/it_css/traine/remote-dir

using arcfour cipher to copy an entire directory, local-dir, on your local system in the current directory, to account, traine, on the remote system, caviness.hpc.udel.edu, in the specified directory for remote-dir on your remote system.

  • abstract/caviness/system_access/windows.txt
  • Last modified: 2021-10-26 16:27
  • by anita