{"id":1915,"date":"2015-08-12T10:26:54","date_gmt":"2015-08-12T08:26:54","guid":{"rendered":"http:\/\/srvcnthpc001.uct.ac.za\/?page_id=1915"},"modified":"2025-06-24T09:16:39","modified_gmt":"2025-06-24T07:16:39","slug":"how-do-i-login","status":"publish","type":"page","link":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/","title":{"rendered":"How do I login?"},"content":{"rendered":"<section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>Once you have been <a href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/apply-for-hpc\/\">granted an account<\/a> you will need to login to the head node of one of the clusters. All the clusters run Linux and you will need to be comfortable working with the command prompt. If you have had no experience with the Linux command line interface we have\u00a0<a href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/guides\/\">training material<\/a>\u00a0as well as a <a href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/hpc-cluster\/\">how to guide<\/a>. Alternately there are <a href=\"https:\/\/www.google.com\/search?btnG=1&amp;pws=0&amp;q=+how+to+use+the+Linux+command+prompt&amp;gws_rd=ssl\" target=\"_blank\" rel=\"noopener\">numerous web articles<\/a> on how to use the Linux command prompt.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>Our head node is called hpc.uct.ac.za as well as hex.uct.ac.za.\u00a0 When using these guides we refer to hpc.uct.ac.za, however you can substitute hex for hpc if you wish.<\/strong><\/span><\/p>\n<h6><span style=\"text-decoration: underline;\"><strong>I have a Windows computer:<\/strong><\/span><\/h6>\n<p><strong>Logging in<\/strong><\/p>\n<p>You will need to download a ssh client. We recommend PuTTY from <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\" target=\"_blank\" rel=\"noopener\">http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html<\/a>.<\/p>\n<p>We recommend just downloading the 64-bit x86 executable:<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2022\/10\/putty.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-4405\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2022\/10\/putty-300x145.png\" alt=\"\" width=\"300\" height=\"145\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2022\/10\/putty-300x145.png 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2022\/10\/putty.png 570w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Save putty.exe to your C: drive and run it. Enter the hostname of the cluster, for example hpc.uct.ac.za, and click Open. The first time you do this answer Yes to the security alert.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2019\/08\/login.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-3695\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2019\/08\/login-300x264.png\" alt=\"\" width=\"300\" height=\"264\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2019\/08\/login-300x264.png 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2019\/08\/login-600x529.png 600w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2019\/08\/login.png 606w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> \u00a0<a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1917\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty2-300x183.png\" alt=\"putty2\" width=\"300\" height=\"183\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty2-300x183.png 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty2-150x91.png 150w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty2.png 376w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now enter your username, press enter, then enter your password and press enter.\u00a0 NB, the password characters will not appear when you type them, this is a security feature. You are now logged in. Type ls -l and press enter.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1918\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty3-300x165.png\" alt=\"putty3\" width=\"300\" height=\"165\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty3-300x165.png 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty3-150x82.png 150w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty3.png 490w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\u00a0 \u00a0<a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1919\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty4-300x173.png\" alt=\"putty4\" width=\"300\" height=\"173\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty4-300x173.png 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty4-150x86.png 150w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/putty4.png 522w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Here we see a folder called bin and a file called example.sh. To navigate to the bin folder enter cd bin. To move back again enter cd ..<br \/>\nTo exit from the cluster type exit. It is beyond the scope of this document to discuss editing files or submitting jobs.<\/p>\n<p><b>Transferring<\/b><strong>\u00a0files<\/strong><\/p>\n<p>If you are comfortable using the windows command prompt, CMD, then you can download pscp.exe from\u00a0<a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html\" target=\"_blank\" rel=\"noopener\">http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html<\/a>. To transfer files from or to your computer use the following commands:<\/p>\n<pre>pscp myfile.txt username@hpc.uct.ac.za:\/home\/username<\/pre>\n<pre>pscp username@hpc.uct.ac.za:\/home\/username\/myfile.txt .<\/pre>\n<p>Note the &#8216;.&#8217; at the end of the last example.<\/p>\n<p>Alternately you can download a graphical interface such as <a href=\"https:\/\/winscp.net\/eng\/download.php\" target=\"_blank\" rel=\"noopener\">WinSCP<\/a>. You would login to the cluster in much the same fashion as above, except you will be presented with a dual pane graphical interface similar to Windows Explorer where you can drag and drop files between hpc and your computer.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/winscp.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1923\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/winscp-300x178.jpg\" alt=\"winscp\" width=\"300\" height=\"178\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/winscp-300x178.jpg 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/winscp-600x356.jpg 600w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/winscp-150x89.jpg 150w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/winscp.jpg 854w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h6><span style=\"text-decoration: underline;\"><strong>I have a Mac:<\/strong><\/span><\/h6>\n<p><strong>Logging in and\u00a0t<b>ransferring<\/b><strong>\u00a0files<\/strong><\/strong><\/p>\n<p>Most Apple MAC OS&#8217;s\u00a0come with ssh and scp preinstalled. From Applications, Utilities select Terminal.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/Apple.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1928\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/Apple-300x146.png\" alt=\"Apple\" width=\"300\" height=\"146\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/Apple-300x146.png 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/Apple-600x291.png 600w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/Apple-150x73.png 150w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/Apple.png 834w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Then type:<\/p>\n<pre>ssh username@hpc.uct.ac.za<\/pre>\n<p>to login and<\/p>\n<pre>scp myfile.txt username@hpc.uct.ac.za:\/home\/username<\/pre>\n<pre>scp username@hpc.uct.ac.za:\/home\/username\/myfile.txt .<\/pre>\n<p>to transfer files.<\/p>\n<h6><span style=\"text-decoration: underline;\"><strong>I have a Linux box:<\/strong><\/span><\/h6>\n<p><strong>Logging in and transferring files\u00a0<\/strong><\/p>\n<p>Most Linux distros come with ssh and scp preinstalled. If you are using the command line you would type:<\/p>\n<pre>ssh username@hpc.uct.ac.za<\/pre>\n<p>to login and<\/p>\n<pre>scp myfile.txt username@hpc.uct.ac.za:\/home\/username<\/pre>\n<pre>scp username@hpc.uct.ac.za:\/home\/username\/myfile.txt .<\/pre>\n<p>to transfer files from and to your computer.<\/p>\n<p>Alternately we also recommend rsync, although if you&#8217;re transferring files to the cluster this application would need to be installed on the source host.\u00a0 Rsync is preferred as it will do a sync of data not yet copied in the case of a copy being interrupted.<\/p>\n<p>To copy a folder from your linux box to hpc use:<\/p>\n<p>rsync -avr FolderName username@hpc.uct.ac.za:\/scratch\/username\/<\/p>\n<p>This will copy FolderName to your scratch folder. <strong>NB<\/strong> do not put a trailing slash on FolderName, otherwise the <span style=\"text-decoration: underline;\">contents<\/span> of FolderName will be copied to scratch which is not generally what one wants.<\/p>\n<p>&nbsp;<\/p>\n<p>If you are using a graphical interface you can launch the command line from the menu. In most distros it is called the Terminal, in the example below, Ubuntu, it is found under Applications, Accessories.<\/p>\n<p><a ref=\"magnificPopup\" href=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/terminal.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-1926\" src=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/terminal-300x188.jpg\" alt=\"terminal\" width=\"300\" height=\"188\" srcset=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/terminal-300x188.jpg 300w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/terminal-150x94.jpg 150w, https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/08\/terminal.jpg 571w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 style=\"text-align: left;\"><strong>Off-Campus logins<\/strong><\/h3>\n<p style=\"text-align: left;\">If you need to access cluster from outside of UCT you will need to do so by making use of the <a href=\"https:\/\/icts.uct.ac.za\/services-working-remotely\/virtual-private-network\" target=\"_blank\" rel=\"noopener\">VPN<\/a>.<\/p>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Once you have been granted an account you will need to login to the head node of one of the clusters. All the clusters run Linux and you will need to be comfortable working with the command prompt. If you have had no experience with the Linux command line interface we have\u00a0training material\u00a0as well as...","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How do I login? - UCT HPC<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I login? - UCT HPC\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/\" \/>\n<meta property=\"og:site_name\" content=\"UCT HPC\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-24T07:16:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2022\/10\/putty-300x145.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/\",\"name\":\"How do I login? - UCT HPC\",\"isPartOf\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\"},\"datePublished\":\"2015-08-12T08:26:54+00:00\",\"dateModified\":\"2025-06-24T07:16:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/#breadcrumb\"},\"inLanguage\":\"en-ZA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ucthpc.uct.ac.za\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I login?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#website\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"name\":\"UCT HPC\",\"description\":\"University of Cape Town High Performance Computing\",\"publisher\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-ZA\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#organization\",\"name\":\"University of Cape Town High Performance Computing\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-ZA\",\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"contentUrl\":\"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png\",\"width\":450,\"height\":423,\"caption\":\"University of Cape Town High Performance Computing\"},\"image\":{\"@id\":\"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I login? - UCT HPC","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/","og_locale":"en_US","og_type":"article","og_title":"How do I login? - UCT HPC","og_url":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/","og_site_name":"UCT HPC","article_modified_time":"2025-06-24T07:16:39+00:00","og_image":[{"url":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2022\/10\/putty-300x145.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/","url":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/","name":"How do I login? - UCT HPC","isPartOf":{"@id":"https:\/\/ucthpc.uct.ac.za\/#website"},"datePublished":"2015-08-12T08:26:54+00:00","dateModified":"2025-06-24T07:16:39+00:00","breadcrumb":{"@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/#breadcrumb"},"inLanguage":"en-ZA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ucthpc.uct.ac.za\/index.php\/how-do-i-login\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ucthpc.uct.ac.za\/"},{"@type":"ListItem","position":2,"name":"How do I login?"}]},{"@type":"WebSite","@id":"https:\/\/ucthpc.uct.ac.za\/#website","url":"https:\/\/ucthpc.uct.ac.za\/","name":"UCT HPC","description":"University of Cape Town High Performance Computing","publisher":{"@id":"https:\/\/ucthpc.uct.ac.za\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ucthpc.uct.ac.za\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-ZA"},{"@type":"Organization","@id":"https:\/\/ucthpc.uct.ac.za\/#organization","name":"University of Cape Town High Performance Computing","url":"https:\/\/ucthpc.uct.ac.za\/","logo":{"@type":"ImageObject","inLanguage":"en-ZA","@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/","url":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","contentUrl":"https:\/\/ucthpc.uct.ac.za\/wp-content\/uploads\/2015\/09\/logocircless.png","width":450,"height":423,"caption":"University of Cape Town High Performance Computing"},"image":{"@id":"https:\/\/ucthpc.uct.ac.za\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/pages\/1915"}],"collection":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":23,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/pages\/1915\/revisions"}],"predecessor-version":[{"id":5008,"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/pages\/1915\/revisions\/5008"}],"wp:attachment":[{"href":"https:\/\/ucthpc.uct.ac.za\/index.php\/wp-json\/wp\/v2\/media?parent=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}