{"id":1144,"date":"2021-06-24T07:17:59","date_gmt":"2021-06-24T07:17:59","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=1144"},"modified":"2021-06-25T07:47:12","modified_gmt":"2021-06-25T07:47:12","slug":"how-to-use-putty-connect-an-aws-ec2-instance","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/","title":{"rendered":"How to use putty to connect an Amazon EC2 instance?"},"content":{"rendered":"<p>PuTTY is a terminal emulator, serial console, and network file transfer tool that is free and open-source. SCP, SSH, Telnet, rlogin, and raw socket connections are among the network protocols it supports. It also has the ability to connect to a serial port.<\/p>\n<ol>\n<li><strong> Verify that the instance is up and running.<\/strong><\/li>\n<\/ol>\n<p>To begin, ensure that your <a href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-do-you-enable-passive-ftp-mode\/\"><strong>EC2 instance<\/strong><\/a> is ready. It may take a few minutes for an instance to be ready for you to connect to after it has been launched. Check to see if your instance&#8217;s status checks were successful. On the Instances page, you can see this in the Status check column.<\/p>\n<ol start=\"2\">\n<li><strong> Putty should be installed on the local computer.<\/strong><\/li>\n<\/ol>\n<ul>\n<li>Go to the PuTTY download website and download and install PuTTY.<\/li>\n<li>Then, to install the software, select the \u201cclick to install\u201d option.<\/li>\n<li>The installer then asks for the destination folder where the software will be installed. The default setting is the best option. Simply click the next button.<\/li>\n<li>When the installation is complete, it should display a success message.<\/li>\n<li>To leave the installer, click Finish.<\/li>\n<\/ul>\n<ol start=\"3\">\n<li><strong> Use PuTTYgen to convert your private key.<\/strong><\/li>\n<\/ol>\n<ul>\n<li>Find the private key (.pem file) for the key pair you specified when the instance was launched.<\/li>\n<li>Then, in order to utilize PuTTY, convert the.pem file to a.ppk file.<\/li>\n<li>PuTTY comes with a utility called PuTTYgen that converts keys to the PuTTY format.<\/li>\n<li>Please follow the procedures below to convert your private key:<\/li>\n<li>Select All Programs\u2014&gt;PuTTY\u2014&gt;PuTTYgen from the Start menu.<\/li>\n<li>Select RSA from the Type of Key to generate a drop-down menu. Choose SSH-2 RSA if your version of PuTTYgen does not have this option.<\/li>\n<li>Then select Load. PuTTYgen only shows files with the.ppk extension. Choose the option to see files of all types to find your.pem file.<\/li>\n<li>Then, make a list of all file kinds.<\/li>\n<li>Next, choose Open and choose the.pem file for the key pair you selected when you launched your instance. The.pem file was successfully imported, according to PuTTYgen. Select OK.<\/li>\n<li>Choose Save private key to save the key in a format that PuTTY understands. PuTTYgen warns you not to save the key without a passphrase. Select Yes.<\/li>\n<\/ul>\n<ul>\n<li>Finally, choose Save and enter the same name for the key as you did for the key pair. The.ppk file extension is automatically added by PuTTY.<\/li>\n<li>Your private key has been converted to the PuTTY-compatible format. You can now use PuTTY&#8217;s SSH client to connect to your instance.<\/li>\n<\/ul>\n<ol start=\"4\">\n<li><strong> Log in to your Linux server.<\/strong><\/li>\n<\/ol>\n<ul>\n<li>Choose All Programs\u2014&gt;PuTTY from the Start menu.<\/li>\n<li>Select Session from the Category drop-down menu and fill in the fields below:<\/li>\n<li>Try one of the following in the Host Name box:<\/li>\n<li>(Domain Name System) Enter my-instance-user-name@my-instance-public-dns-name to connect using your instance&#8217;s public DNS name.<\/li>\n<li>(IPv6) Alternatively, if your instance has an IPv6 address, use my-instance-user-name@my-instance-IPv6-address to connect using your instance&#8217;s IPv6 address.<\/li>\n<li>Make sure the Port value is set to 22.<\/li>\n<li>Finally, pick SSH as the connection type.<\/li>\n<li>To keep the session active, you can configure PuTTY to send \u2018keepalive&#8217; data at regular intervals. Choose Connection from the Category drop-down menu, then enter the desired interval in the seconds between keepalive areas.<\/li>\n<li>Expand Connection\u2014&gt;expand SSH, and then pick auth in the Category pane. Complete the following questions: Select Browse. Choose the.ppk file that you created for your key pair and click OK.<\/li>\n<li>PuTTY displays a security alert dialogue box when connecting for the first time, asking if you trust the host to which you&#8217;re connecting. Select Yes. You&#8217;ll see a window pop up, and you&#8217;ll be linked to your instance.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>At Velan, our server support engineers can help your <a href=\"https:\/\/www.velaninfo.com\/rs\/tech-tips\/aws\/\"><strong>AWS EC2 Linux servers<\/strong><\/a>.\u00a0If you are interested in our<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PuTTY is a terminal emulator, serial console, and network file transfer tool that is free and open-source. SCP, SSH, Telnet, rlogin, and raw socket connections are among the network protocols it supports. It also has the ability to connect to a serial port. Verify that the instance is up and running. To begin, ensure that&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-1144","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-aws","Categories_tech_tip-ec2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to use connect an Aws EC2 instance PuTTY Configuration window<\/title>\n<meta name=\"description\" content=\"How to connect an Amazon EC2 instance PuTTY Configuration windows. Verify Connect to EC2 instance SSH, windows, linux, ubuntu with ppk file In PuTTY\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use putty to connect an Amazon EC2 instance?\" \/>\n<meta property=\"og:description\" content=\"How to connect an Amazon EC2 instance PuTTY Configuration windows. Verify Connect to EC2 instance SSH, windows, linux, ubuntu with ppk file In PuTTY\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-25T07:47:12+00:00\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-use-putty-connect-an-aws-ec2-instance\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-use-putty-connect-an-aws-ec2-instance\\\/\",\"name\":\"How to use connect an Aws EC2 instance PuTTY Configuration window\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"datePublished\":\"2021-06-24T07:17:59+00:00\",\"dateModified\":\"2021-06-25T07:47:12+00:00\",\"description\":\"How to connect an Amazon EC2 instance PuTTY Configuration windows. Verify Connect to EC2 instance SSH, windows, linux, ubuntu with ppk file In PuTTY\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-use-putty-connect-an-aws-ec2-instance\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-use-putty-connect-an-aws-ec2-instance\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-use-putty-connect-an-aws-ec2-instance\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to use putty to connect an Amazon EC2 instance?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to use connect an Aws EC2 instance PuTTY Configuration window","description":"How to connect an Amazon EC2 instance PuTTY Configuration windows. Verify Connect to EC2 instance SSH, windows, linux, ubuntu with ppk file In PuTTY","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:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/","og_locale":"en_US","og_type":"article","og_title":"How to use putty to connect an Amazon EC2 instance?","og_description":"How to connect an Amazon EC2 instance PuTTY Configuration windows. Verify Connect to EC2 instance SSH, windows, linux, ubuntu with ppk file In PuTTY","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/","og_site_name":"Velan","article_modified_time":"2021-06-25T07:47:12+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/","name":"How to use connect an Aws EC2 instance PuTTY Configuration window","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"datePublished":"2021-06-24T07:17:59+00:00","dateModified":"2021-06-25T07:47:12+00:00","description":"How to connect an Amazon EC2 instance PuTTY Configuration windows. Verify Connect to EC2 instance SSH, windows, linux, ubuntu with ppk file In PuTTY","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-use-putty-connect-an-aws-ec2-instance\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to use putty to connect an Amazon EC2 instance?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1144","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=1144"}],"version-history":[{"count":1,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1144\/revisions"}],"predecessor-version":[{"id":1145,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/1144\/revisions\/1145"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=1144"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=1144"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}