This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
guide:connect [2018/04/18 14:05] thlatshwayo [Blocked IP's] |
guide:connect [2026/06/18 19:45] (current) ccrosby [Connecting to the CHPC] |
||
|---|---|---|---|
| Line 2: | Line 2: | ||
| The CHPC hosts a supercomputer comprising: | The CHPC hosts a supercomputer comprising: | ||
| - | * 1008 regular compute nodes with 24 cores and 128 GiB of RAM each; and | + | * 1008 regular compute nodes with 24 cores and 128 GiB of RAM each; |
| - | * 5 large memory nodes with 56 cores 1TiB of RAM each | + | * 360 regular computes nodes with 24 cores and 64 GiB of RAM each; |
| + | * 4 large memory nodes with 56 cores and 1TiB of RAM each; | ||
| + | * 9 [[guide: | ||
| - | The cluster will be augmented in the future with: | ||
| - | * a GPU-powered visualisation node; and | ||
| - | * other specialised servers | ||
| =====Host Name===== | =====Host Name===== | ||
| Line 21: | Line 20: | ||
| where // | where // | ||
| + | |||
| + | |||
| + | ===== Dedicated scp.chpc.ac.za ===== | ||
| + | A dedicated node, '' | ||
| + | < | ||
| + | scp src.tar.gz username@scp.chpc.ac.za: | ||
| + | </ | ||
| ===== Transferring Files ===== | ===== Transferring Files ===== | ||
| - | Use scp or sftp to transfer files to or from your home directory on the CHPC systems. | + | **Large data sets should be transferred by means of [[howto: |
| + | |||
| + | You can also use scp or sftp to transfer files to or from your home directory on the CHPC systems. | ||
| < | < | ||
| - | scp src.tar.gz username@scp.chpc.ac.za: | + | scp src.tar.gz username@scp.chpc.ac.za: |
| </ | </ | ||
| - | to copy the file // | + | to copy the file // |
| + | |||
| + | < | ||
| + | scp src.tar.gz username@scp.chpc.ac.za:/ | ||
| + | </ | ||
| + | |||
| + | |||
| + | If you would like a more user-friendly method, consider [[https:// | ||
| **Note:** use '' | **Note:** use '' | ||
| - | ===== Dedicated scp.chpc.ac.za ===== | ||
| - | A dedicated node, '' | ||
| - | < | ||
| - | scp src.tar.gz username@scp.chpc.ac.za: | ||
| - | </ | ||
| =====Recommended: | =====Recommended: | ||
| Line 64: | Line 74: | ||
| </ | </ | ||
| And the next time you ssh or scp to the CHPC login node you won't have to use your password! | And the next time you ssh or scp to the CHPC login node you won't have to use your password! | ||
| + | |||
| + | ====NOTE: ssh FILE PERMISSIONS==== | ||
| Notice that you need to change the permissions of the //.ssh// directory and the // | Notice that you need to change the permissions of the //.ssh// directory and the // | ||
| file on the login nodes to make them private and readable by you only before ssh will use the new public key. | file on the login nodes to make them private and readable by you only before ssh will use the new public key. | ||
| + | |||
| + | < | ||
| + | chmod -R g-rwx,o-rwx ~/.ssh | ||
| + | </ | ||
| + | |||
| + | **You also need to make sure your home directory does not have write '' | ||
| + | |||
| + | < | ||
| + | ls -ld ~ | ||
| + | drwxr-xr-x 19 user user 4096 Aug 15 12:01 /home/user | ||
| + | </ | ||
| + | |||
| + | which is done with | ||
| + | < | ||
| + | chmod 0750 ~ | ||
| + | </ | ||
| + | to make your entire home directory private; or | ||
| + | < | ||
| + | chmod 0755 ~ | ||
| + | </ | ||
| + | to allow other users to view your files. | ||
| + | |||
| + | |||
| + | ====ssh error: REMOTE HOST IDENTIFICATION HAS CHANGED!==== | ||
| + | |||
| + | This error occurs if the keys used by the host are different from that used last time you connected to it. | ||
| + | |||
| + | You can use | ||
| + | |||
| + | ssh-keygen -R badhost | ||
| + | |||
| + | to remove all keys associated with the host //badhost// from your '' | ||
| + | |||
| + | This is safe to do because the new host key entry will be added back in next time you ssh in. | ||
| + | |||
| + | |||
| + | If you want to look at or edit the '' | ||
| + | |||
| + | For example, after logging in: | ||
| + | |||
| + | <code bash> | ||
| + | cd .ssh/ | ||
| + | ls | ||
| + | authorized_keys | ||
| + | </ | ||
| + | |||
| + | |||
| + | Once you have changed into the '' | ||
| + | |||
| + | |||
| + | |||
| ===== Connecting from MS Windows ===== | ===== Connecting from MS Windows ===== | ||