{"id":8727,"date":"2024-11-12T14:26:09","date_gmt":"2024-11-12T19:26:09","guid":{"rendered":"https:\/\/carleton.ca\/scs\/?p=8727"},"modified":"2026-06-23T17:24:36","modified_gmt":"2026-06-23T21:24:36","slug":"connecting-to-an-openstack-instance-using-ssh-putty","status":"publish","type":"post","link":"https:\/\/carleton.ca\/scs\/2024\/connecting-to-an-openstack-instance-using-ssh-putty\/","title":{"rendered":"SSH Connection Using the putty SSH Terminal Client"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        SSH Connection Using the putty SSH Terminal Client\n                    <\/h1>\n                \n                                \n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    \n    <dl class=\"cu-description cu-component-updated\">\n        \n    <div class=\"grid pt-4 pb-3 border-b accordion border-cu-black-100 md:pt-6 md:pb-5 first:border-t\">\n        <dt class=\"font-semibold not-prose\">\n            <button class=\"flex items-center justify-between w-full text-left accordion__button\" aria-expanded=\"false\" aria-controls=\"accordion-login-credentials-and-first-login\">\n                <span class=\"flex-1 ml-auto text-left break-words whitespace-normal cu-icon\">\n                    Login Credentials and First Login\n                <\/span>\n                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewbox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\" class=\"w-5 h-5 ml-auto transition-transform rotate-0 accordion__icon text-cu-black-500\">\n                    <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M8.25 4.5l7.5 7.5-7.5 7.5\"><\/path>\n                <\/svg>\n            <\/button>\n        <\/dt>\n        <dd class=\"p-0 mt-0 cu-prose cu-prose-first-last accordion__content md:p-0 md:mt-0\" hidden=\"\" id=\"accordion-login-credentials-and-first-login\">\n            \n\n<p><br><strong>Login Credentials:<\/strong>&nbsp;<em>Most<\/em>&nbsp;of our OpenStack images share the same default credentials:<br><strong>username:&nbsp;<em>student<\/em><\/strong><br><strong>password:&nbsp;<em>student<\/em><\/strong><\/p>\n\n\n\n<p><strong>IMPORTANT:<\/strong>&nbsp;New images since (<strong>2022\/2023<\/strong>)&nbsp;<strong>force a password change<\/strong>&nbsp;on the first login.<br><strong>First Login Scenarios:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>TurboVNC WARNING:<\/strong>&nbsp;TurboVNC does&nbsp;<strong>NOT<\/strong>&nbsp;support first login password changes, so your first login must use another login tool below<\/li>\n\n\n\n<li><strong>vscode WARNING:<\/strong>&nbsp;vscode does&nbsp;<strong>NOT<\/strong>&nbsp;support first login password changes, so your first login must use another login tool below<\/li>\n\n\n\n<li><strong>ssh terminal (putty, etc)<\/strong>&nbsp;first login: When you login, you will be redirect to a change password prompt. You will then have to enter the current password (student) again, and then enter your new password twice. When you change your password, it will then log you out and you have to login again with that new password<\/li>\n\n\n\n<li><strong>x2go<\/strong>&nbsp;first login: When you login, you will be redirect to a change password prompt. You will then have to enter the current password (student) again, and then enter your new password twice. When you change your password, it will then prompt you to&nbsp;<em>click reconnect<\/em>, at which point you can login again using the new password<\/li>\n\n\n\n<li><strong>openstack web console<\/strong>&nbsp;first login: When you login, you will be redirect to a change password prompt. You will then have to enter the current password (student) again, and then enter your new password twice. In this case, you stay connected. The next time you login, you will need the new password<\/li>\n<\/ul>\n\n\n\n<p><strong>WARNING:<\/strong>&nbsp;If you are using an older image (pre-2022) that does not enforce an ssh key or a password change, then we strongly encourage you to immediately change your password or setup an ssh key!<\/p>\n\n\n        <\/dd>\n    <\/div>\n\n\n    <\/dl>\n\n\n    <\/div>\n<\/section>\n\n\n\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n        \n    \n    <dl class=\"cu-description cu-component-updated\">\n        \n    <div class=\"grid pt-4 pb-3 border-b accordion border-cu-black-100 md:pt-6 md:pb-5 first:border-t\">\n        <dt class=\"font-semibold not-prose\">\n            <button class=\"flex items-center justify-between w-full text-left accordion__button\" aria-expanded=\"false\" aria-controls=\"accordion-what-is-my-openstack-floating-ip-address\">\n                <span class=\"flex-1 ml-auto text-left break-words whitespace-normal cu-icon\">\n                    What is my OpenStack Floating IP Address\n                <\/span>\n                <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" fill=\"none\" viewbox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\" class=\"w-5 h-5 ml-auto transition-transform rotate-0 accordion__icon text-cu-black-500\">\n                    <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M8.25 4.5l7.5 7.5-7.5 7.5\"><\/path>\n                <\/svg>\n            <\/button>\n        <\/dt>\n        <dd class=\"p-0 mt-0 cu-prose cu-prose-first-last accordion__content md:p-0 md:mt-0\" hidden=\"\" id=\"accordion-what-is-my-openstack-floating-ip-address\">\n            \n\n<p>Your <strong>public floating IP address<\/strong> of your instance will have the form: <strong>134.117.xxx.xxx<\/strong> &#8211; If you don&#8217;t see the <strong>134.117<\/strong> part, then you haven&#8217;t set up a floating IP address! This IP address is assigned when you run the <strong>Associate Floating IP Address<\/strong> command for your instance (via the OpenStack dashboard) <a href=\"#openstack-associate-floating-ip\"><em>Associate Floating IP with an Instance above<\/em><\/a>.<\/p>\n\n\n        <\/dd>\n    <\/div>\n\n\n    <\/dl>\n\n\n    <\/div>\n<\/section>\n\n\n\n<h2 id=\"ssh-connection-using-the-putty-ssh-terminal-client\" class=\"wp-block-heading\">SSH Connection Using the putty SSH Terminal Client<\/h2>\n\n\n\n<p><strong>NOTE:<\/strong> This example uses <strong>putty<\/strong>, but the settings are the same for any tool using ssh, scp, etc.<br>\n<strong>Download Putty: <a href=\"https:\/\/www.putty.org\">here<\/a><\/strong><\/p>\n\n\n\n<p>You can find a video demo of these instructions here: <a title=\"Connect Remotely via a putty terminal\" href=\"https:\/\/youtu.be\/PEWtyfbj0Sk\" target=\"_blank\" rel=\"noopener noreferrer\">Connect Remotely via a putty terminal (video)<\/a><\/p>\n\n\n\n<p><strong>Enter settings into putty:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"387\" src=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-400x387.jpg\" alt=\"GUI for logging into SSH\" class=\"wp-image-5463\" style=\"width:400px\" srcset=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-400x387.jpg 400w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-160x155.jpg 160w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-240x232.jpg 240w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-360x348.jpg 360w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty.jpg 452w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<p><strong>Enter username \/ password:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"253\" src=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-2-400x253.jpg\" alt=\"Putty SSH Quick Connection Screen\" class=\"wp-image-5464\" style=\"width:450px\" srcset=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-2-400x253.jpg 400w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-2-160x101.jpg 160w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-2-240x152.jpg 240w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-2-360x228.jpg 360w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-2.jpg 661w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<p><br><br> <strong><span style=\"color:red;\">IMPORTANT:<\/span><\/strong> &#8211; Remember that the first time you login, you will be prompted to change your password. See the <em>Login Credentials<\/em> section at the top of this page for details.<\/p>\n\n\n\n<p><strong>You should see a similar prompt when you successfully connect:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"253\" src=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-3-400x253.jpg\" alt=\"Putty SSH screen\" class=\"wp-image-5465\" style=\"width:450px\" srcset=\"https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-3-400x253.jpg 400w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-3-160x101.jpg 160w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-3-240x152.jpg 240w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-3-360x228.jpg 360w, https:\/\/carleton.ca\/scs\/wp-content\/uploads\/sites\/260\/Openstack-SSH-Connection-Putty-3.jpg 661w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>SSH Connection Using the putty SSH Terminal Client NOTE: This example uses putty, but the settings are the same for any tool using ssh, scp, etc. Download Putty: here You can find a video demo of these instructions here: Connect Remotely via a putty terminal (video) Enter settings into putty: Enter username \/ password: IMPORTANT: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5463,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[61,58,99,57],"tags":[107,106],"class_list":["post-8727","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-tech-support","category-openstack-support","category-ssh","category-technicalsupport","tag-openstack","tag-ssh"],"acf":{"cu_post_thumbnail":""},"_links":{"self":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/posts\/8727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/comments?post=8727"}],"version-history":[{"count":5,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/posts\/8727\/revisions"}],"predecessor-version":[{"id":25003,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/posts\/8727\/revisions\/25003"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/media\/5463"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/media?parent=8727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/categories?post=8727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carleton.ca\/scs\/wp-json\/wp\/v2\/tags?post=8727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}