Next revision | Previous revision |
abstract:farber:system_access:windows [2018-02-08 16:50] – created sraskar | abstract:farber:system_access:windows [2021-10-26 09:35] (current) – [Windows 10] anita |
---|
====== PuTTY command line mode ====== | ====== PuTTY command line mode ====== |
| |
First, install and configure the [[http://www.udel.edu/it/research/training/config_laptop/puTTY.shtml|PuTTY]] client to connect a remote host. Then add the PuTTY install path to your local system PATH environment variable. This will allow you to use PuTTY's command line mode. | If you want to be able to use PuTTY command line on your Windows computer, first, install and configure the [[http://www.udel.edu/it/research/training/config_laptop/puTTY.shtml|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. |
| |
<note tip>IT strongly recommends that you configure your client as described in the online [[http://www.udel.edu/it/research/training/config_laptop/puTTY.shtml|X-Windows (X11) and SSH document]]. </note> | <note tip>IT strongly recommends that you configure your client as described in the online [[http://www.udel.edu/it/research/training/config_laptop/puTTY.shtml|X-Windows (X11) and SSH document]]. </note> |
| |
===== Adding PuTTY to your PATH ===== | ===== Adding PuTTY to your PATH ===== |
| |
| ==== Windows 10 ==== |
| - Click Windows taskbar and type to search **environment**. |
| - Best match should be on **Edit the system environment variables**, click to open. |
| - In the Systems Properties window, it should be on the **Advanced** tab. |
| - In the System Properties window, click on **Environment Variables...** at the bottom of the window. |
| - In the Environment Variables window in the System variables (second box), click on Path to highlight, then click **Edit...**. |
| - In the Edit environment variable window, click **New**. Type\\ **''C:\Program Files (x86)\PuTTY\''**. |
| - Click **OK** to save and exit the Edit environment variable window. |
| - Click **OK** to exit the Environment Variables window. |
| - Click **OK** to exit the System Properties window. |
| |
==== Windows 7 ==== | ==== Windows 7 ==== |
- Click **OK** to exit the System window. | - Click **OK** to exit the System window. |
| |
==== Windows XP ==== | |
- From the desktop, right-click on **My Computer**, select **Properties**. | |
- In the System Properties window, click on the **Advanced** tab. | |
- In the Advanced tab section, click on **Environment Variables** at the bottom. | |
- In the Environment Variables window under System variables, click on Path to highlight it, then click **Edit**. | |
- In the Edit System Variable window, click in the **Variable value:** box and move to the end using the right arrow. Type\\ **'';C:\Program Files (x86)\PuTTY''**. | |
- Click **OK** to save and exit the Edit System Variable window. | |
- Click **OK** to exit the Environment Variables window. | |
- Click **OK** to exit the System Properties window. | |
| |
===== Using command line PuTTY without a saved session ===== | ===== Using command line PuTTY without a saved session ===== |
| |
<code> | <code> |
pscp traine@mills.hpc.udel.edu:/lustre/work/it_css/traine/remote-file local-file | pscp traine@farber.hpc.udel.edu:/lustre/work/it_css/traine/remote-file local-file |
</code> | </code> |
| |
to copy a single file, ''remote-file'', from account, ''traine'', on the remote system, ''mills.hpc.udel.edu'', to ''local-file'' on your local system in the current directory, or | to copy a single file, ''remote-file'', from account, ''traine'', on the remote system, ''farber.hpc.udel.edu'', to ''local-file'' on your local system in the current directory, or |
| |
<code> | <code> |
pscp -r traine@mills.hpc.udel.edu:/lustre/work/it_css/traine/remote-dir local-dir | pscp -r traine@farber.hpc.udel.edu:/lustre/work/it_css/traine/remote-dir local-dir |
</code> | </code> |
| |
to copy an entire directory, ''remote-dir'', from account, ''traine'', on the remote system, ''mills.hpc.udel.edu'', to ''local-dir'' on your local system in the current directory. | to copy an entire directory, ''remote-dir'', from account, ''traine'', on the remote system, ''farber.hpc.udel.edu'', to ''local-dir'' on your local system in the current directory. |
| |
==== Copy from local system to remote system ==== | ==== Copy from local system to remote system ==== |
| |
<code> | <code> |
pscp local-file traine@mills.hpc.udel.edu:/lustre/work/it_css/traine/remote-file | pscp local-file traine@farber.hpc.udel.edu:/lustre/work/it_css/traine/remote-file |
</code> | </code> |
| |
to copy a single file, ''local-file'', on your local system in the current directory, to account, ''traine'', on remote host, ''mills.hpc.udel.edu'', in the specified directory for ''remote-file'', or | to copy a single file, ''local-file'', on your local system in the current directory, to account, ''traine'', on remote host, ''farber.hpc.udel.edu'', in the specified directory for ''remote-file'', or |
| |
<code> | <code> |
pscp -r local-dir traine@mills.hpc.udel.edu:/lustre/work/it_css/traine/remote-dir | pscp -r local-dir traine@farber.hpc.udel.edu:/lustre/work/it_css/traine/remote-dir |
</code> | </code> |
| |
to copy an entire directory, ''local-dir'', on your local system in the current directory, to account, ''traine'', on remote host, ''mills.hpc.udel.edu'', in the specified directory for ''remote-dir''. | to copy an entire directory, ''local-dir'', on your local system in the current directory, to account, ''traine'', on remote host, ''farber.hpc.udel.edu'', in the specified directory for ''remote-dir''. |
| |
===== Using command line PuTTY with a saved session ===== | ===== Using command line PuTTY with a saved session ===== |
==== Copy from remote system to local system ==== | ==== Copy from remote system to local system ==== |
| |
In a Windows (''cmd'') window or adding a line to a batch script using a saved session called ''mills-traine'' with username ''traine'' and encryption cipher selection policy set to ''Arcfour (SSH-2 only)'', use | In a Windows (''cmd'') window or adding a line to a batch script using a saved session called ''farber-traine'' with username ''traine'' and encryption cipher selection policy set to ''Arcfour (SSH-2 only)'', use |
| |
<code> | <code> |
pscp mills-traine:/lustre/work/it_css/traine/remote-file local-file | pscp farber-traine:/lustre/work/it_css/traine/remote-file local-file |
</code> | </code> |
| |
using ''arcfour'' cipher to copy a single file, ''remote-file'', from account, ''traine'', on the remote system, ''mills.hpc.udel.edu'', to ''local-file'' on your local system, or | using ''arcfour'' cipher to copy a single file, ''remote-file'', from account, ''traine'', on the remote system, ''farber.hpc.udel.edu'', to ''local-file'' on your local system, or |
| |
<code> | <code> |
pscp -r mills-traine:/lustre/work/it_css/traine/remote-dir local-dir | pscp -r farber-traine:/lustre/work/it_css/traine/remote-dir local-dir |
</code> | </code> |
| |
using ''arcfour'' cipher to copy an entire directory, ''remote-dir'', from account, ''traine'', on the remote system, ''mills.hpc.udel.edu'', to ''local-dir'' on your local system. | using ''arcfour'' cipher to copy an entire directory, ''remote-dir'', from account, ''traine'', on the remote system, ''farber.hpc.udel.edu'', to ''local-dir'' on your local system. |
| |
==== Copy from local system to remote system ==== | ==== Copy from local system to remote system ==== |
| |
In a Windows (''cmd'') window or adding a line to a batch script using a saved session called ''mills-traine'' with username ''traine'' and encryption cipher selection policy set to ''Arcfour (SSH-2 only)'', use | In a Windows (''cmd'') window or adding a line to a batch script using a saved session called ''farber-traine'' with username ''traine'' and encryption cipher selection policy set to ''Arcfour (SSH-2 only)'', use |
| |
<code> | <code> |
pscp local-file mills-traine:/lustre/work/it_css/traine/remote-file | pscp local-file farber-traine:/lustre/work/it_css/traine/remote-file |
</code> | </code> |
| |
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, ''mills.hpc.udel.edu'', in the specified directory for ''remote-file'' on your remote system, or | 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, ''farber.hpc.udel.edu'', in the specified directory for ''remote-file'' on your remote system, or |
| |
<code> | <code> |
pscp -r local-dir mills-traine:/lustre/work/it_css/traine/remote-dir | pscp -r local-dir farber-traine:/lustre/work/it_css/traine/remote-dir |
</code> | </code> |
| |
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, ''mills.hpc.udel.edu'', in the specified directory for ''remote-dir'' on your remote system. | 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, ''farber.hpc.udel.edu'', in the specified directory for ''remote-dir'' on your remote system. |