{"id":574,"date":"2019-09-20T11:54:10","date_gmt":"2019-09-20T10:54:10","guid":{"rendered":"https:\/\/blogs.gre.ac.uk\/cmssupport\/?page_id=574"},"modified":"2019-09-20T11:54:10","modified_gmt":"2019-09-20T10:54:10","slug":"using-putty","status":"publish","type":"page","link":"https:\/\/blogs.gre.ac.uk\/cmssupport\/systems\/unix\/logging-into-unix\/using-putty\/","title":{"rendered":"Using Putty"},"content":{"rendered":"\n<p>The Putty SSH client can be used to connect to Unix servers in order to run commands from a command line interface.<\/p>\n\n\n\n<p>Putty is already installed in the&nbsp;<a href=\"https:\/\/blogs.gre.ac.uk\/cmssupport\/the-king-william-labs\/\">King William faculty labs<\/a>, and the&nbsp;<a href=\"https:\/\/blogs.gre.ac.uk\/cmssupport\/virtual-desktop\/\">Virtual Desktop<\/a>&nbsp;and can be installed on other PCs at the University through the&nbsp;<a href=\"https:\/\/docs.gre.ac.uk\/rep\/information-and-library-services\/installing-additional-software-available-from-the-software-center\">Software Center<\/a>. Note that SSH connections to the Unix servers can only be made from within the University, if you are working from home you will need to use the Virtual Desktop.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Starting Putty<\/h2>\n\n\n\n<p>Putty can be found within the Start Menu under All Programs &gt; Host Access<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"317\" height=\"332\" src=\"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/09\/host-access-2021.png\" alt=\"\" class=\"wp-image-1698\" srcset=\"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/09\/host-access-2021.png 317w, https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/09\/host-access-2021-286x300.png 286w, https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/09\/host-access-2021-143x150.png 143w\" sizes=\"auto, (max-width: 317px) 100vw, 317px\" \/><\/figure>\n\n\n\n<p>Select the appropriate link to connect to stulinux.cms.gre.ac.uk (students will not be able to connect to staff Unix servers and vise versa).<\/p>\n\n\n\n<p>When you connect, you will see a Security alert. Click the &#8216;Yes&#8217; button to accept the server&#8217;s host key.<\/p>\n\n\n\n<p>You will then be prompted for your password, enter the password you log into other University systems with and press the enter key after typing it in. <strong>Note that your password will not be shown as you type it, this is for security reasons.<\/strong><\/p>\n\n\n\n<p>Once you are logged in successfully you will see a screen similar to this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"421\" src=\"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/01\/putty.png\" alt=\"\" class=\"wp-image-1295\" srcset=\"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/01\/putty.png 663w, https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/01\/putty-300x190.png 300w, https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/01\/putty-551x350.png 551w, https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-content\/uploads\/sites\/18\/2021\/01\/putty-150x95.png 150w\" sizes=\"auto, (max-width: 663px) 100vw, 663px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting Putty<\/h2>\n\n\n\n<p>Linux and Unix are case-sensitive so you need to ensure your username is in lowercase (e.g. aa0001a not AA00001A) &#8211; the shortcut to login to connect to stulinux.cms.gre.ac.uk will automatically pick up the username you used to login with. If this is in a different case you will either need to log off and login again making sure you type your username in lower case, or select the &#8216;Putty&#8217; link instead and enter &#8216;stulinux.cms.gre.ac.uk&#8217; as the name of the server to connect to, and enter your username in lower case when prompted.<\/p>\n\n\n\n<p>If you do not know your Unix password or are unable to login please speak to a member of the support staff.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Running commands in Putty<\/h2>\n\n\n\n<p>To run commands in Putty just type them in, e.g. to list all the files and folders in your home area type the command&nbsp;<strong>ls<\/strong>&nbsp;and then press the &#8216;Enter&#8217; or &#8216;Return&#8217; key.<br><br>If you are not following a tutorial for one of your courses you may find the&nbsp;<a href=\"http:\/\/cms-support.gre.ac.uk\/old\/unix\/unixcommands.html\">Unix commands<\/a>&nbsp;page helpful.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Finishing your session<\/h2>\n\n\n\n<p>To finish your session you need to log out of Putty by running the logout command.<br><br>The lab support staff at the support counter in KW116 should be able to help with any general issues such as logging into Unix, accessing your U: drive, etc. However the Unix support team can be contacted by email at\u00a0<a href=\"mailto:cms-support@gre.ac.uk\">cms-support@gre.ac.uk<\/a>\u00a0for any Unix or Linux queries or problems.<\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Putty SSH client can be used to connect to Unix servers in order to run commands from a command line interface. Putty is already installed in the&nbsp;King William faculty labs, and the&nbsp;Virtual Desktop&nbsp;and can &hellip;<\/p>\n","protected":false},"author":53,"featured_media":0,"parent":613,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-574","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/pages\/574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/comments?post=574"}],"version-history":[{"count":0,"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/pages\/574\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/pages\/613"}],"wp:attachment":[{"href":"https:\/\/blogs.gre.ac.uk\/cmssupport\/wp-json\/wp\/v2\/media?parent=574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}