Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
abstract:farber:connecting [2017-10-24 10:48] – sraskar | abstract:farber:connecting [2018-02-08 16:41] (current) – removed sraskar | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | This is Farber connecting page | ||
- | < | ||
- | |||
- | ====== Accessing a cluster ===== | ||
- | |||
- | //This section uses the wiki's [[00_conventions|documentation conventions]].// | ||
- | ===== Secure shell program (SSH) ===== | ||
- | |||
- | Use a secure shell program/ | ||
- | program to move files to and from the cluster. | ||
- | |||
- | There are many suitable secure clients for Windows, Mac OS X, and UNIX/Linux. We recommend PuTTY and Xming for Windows users. Macintosh and UNIX/Linux users can use their pre-installed SSH and X11 software. (Newer versions of Mac OS X may not have a current version of X11 installed. See the Apple web site for | ||
- | [[http:// | ||
- | |||
- | <note tip>IT strongly recommends that you configure your clients as described in the online X-windows (X11) and SSH documents | ||
- | ([[http:// | ||
- | [[http:// | ||
- | |||
- | <note important> | ||
- | Your HPC home directory has a '' | ||
- | modify the files that were initially created by the system. They facilitate communication between | ||
- | the login (head) node and the compute nodes. Only use standard **ssh** commands to add keys to the | ||
- | files in the '' | ||
- | </ | ||
- | |||
- | ==== Logging on the cluster ==== | ||
- | To initiate an SSH connection from a Mac/ | ||
- | the generic command | ||
- | |||
- | '' | ||
- | |||
- | For example, | ||
- | <code bash> | ||
- | ssh -Y traine@mills.hpc.udel.edu | ||
- | </ | ||
- | |||
- | This **ssh** command is on your local system. | ||
- | |||
- | <note tip> | ||
- | </ | ||
- | |||
- | <note tip> | ||
- | When using the recommended setup for [[general/ | ||
- | </ | ||
- | |||
- | |||
- | |||
- | ===== Screen sessions ===== | ||
- | |||
- | When an ssh session is ended intentionally or by a loss of connectivity, | ||
- | restart it and resume your work. The UNIX **screen** command provides a useful solution. This | ||
- | command creates a virtual terminal window session that continues to run after you are logged off. It | ||
- | allows you to reattach the same virtual terminal window session and resume working. | ||
- | See the **man** page for **screen** for details. | ||
- | |||
- | <note tip> | ||
- | Suppose you have a significant amount of interactive work to be done on the cluster, but you have a interruption coming up shortly, such as lunch. | ||
- | You can start a screen session and work until lunchtime. | ||
- | </ | ||
- | |||
- | <note important> | ||
- | If you are using an unstable network connection, for example, a laptop that drops your connection when it sleeps, you may want to start a screen session before you lose connectivity. | ||
- | </ | ||
- | |||
- | |||
- | ====== Next section ====== | ||
- | [[03_filetransfer|Transferring files]] |