{"id":118,"date":"2020-02-12T10:36:39","date_gmt":"2020-02-12T10:36:39","guid":{"rendered":"https:\/\/www.lcn.com\/support\/knowledge-base\/how-to-connect-via-ssh\/"},"modified":"2021-06-02T09:57:07","modified_gmt":"2021-06-02T09:57:07","slug":"how-to-connect-via-ssh","status":"publish","type":"ht_kb","link":"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/","title":{"rendered":"How to connect to your server via SSH"},"content":{"rendered":"<p>This guide will explain how to connect to your server via SSH. For customers using LCN <a href=\"https:\/\/login.lcn.com\/login\" target=\"blank\" rel=\"noopener noreferrer\">Cloud servers<\/a> or legacy VPS\/Dedicated servers.<\/p>\n<p>Let\u2019s get started\u2026<\/p>\n<h2>What is SSH?<\/h2>\n<p>SSH (Secure-shell) is a network protocol used to securely connect to a remote computer \u2013 this is commonly used for command line access on Unix\/Linux systems.<\/p>\n<p>If you have a server with LCN, you\u2019ll be provided with SSH login details to access it. The following guide will explain how to connect to your server via SSH in Windows, Mac OS\/x or Linux systems.<\/p>\n<h2>Connecting using SSH<\/h2>\n<p>To connect to your server via SSH, access to the server over port 22 will need to be enabled \u2013 this is enabled by default in the firewall rules for Cloud servers. If you have customised the firewall settings for your server, check that access via port 22 is enabled.<\/p>\n<h3>Windows<\/h3>\n<p>To connect using SSH in Windows, you\u2019ll need to download an SSH client like <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\" target=\"blank\" rel=\"noopener noreferrer\">Putty<\/a>. Select the appropriate version for your operating system (32 or 64 bit) to download and run the installer for Putty.<\/p>\n<p>When you run the Putty application you\u2019ll see the following menu for Putty configuration:<\/p>\n<p><img decoding=\"async\" class=\"screenshot\" src=\"\/support\/articles\/attachment\/649\/inline\/original\/1514973791\/putty_config.png\" \/><\/p>\n<p>Enter the hostname or IP address of your server into the <strong>Host Name<\/strong> field and leave the port number set to 22.<\/p>\n<p>Select <strong>Open<\/strong> to open a connection to your server, you\u2019ll see a login prompt to enter a <strong>username<\/strong>, then just enter your SSH <strong>username<\/strong> and <strong>password<\/strong> to connect to your server.<\/p>\n<div class=\"container row col-md-24 support-article panel panel-default panel-body\" style=\"background-color: #f6e9db; border-color: #ead9c7; border: 1px solid #ddd; border-radius: 4px; padding: 1% 2%; background-image: url('\/images\/my_account\/highlight.png'); background-position: left top; background-repeat: repeat-x;\">\n<p><span style=\"font-size: 17px;\"><strong style=\"color: #e77600 !important; font-size: 18px;\">Please Note<\/strong>: that when entering your SSH password, the cursor will not move or provide an indication that you have entered any text.<\/span><\/p>\n<\/div>\n<h3>Mac OS\/x and Linux<\/h3>\n<p>Mac OS and Linux operating systems will include an SSH client by default that you can use to connect to a remote server.<\/p>\n<p>In Mac OS this can be accessed by opening the <strong>terminal<\/strong> application, for Linux based operating systems open the <strong>terminal<\/strong> or <strong>command prompt<\/strong> application for the Linux distro\/desktop environment you are using.<\/p>\n<p>You can then connect to your server via SSH by entering a command in the following format:<\/p>\n<pre class=\"prettyprint linenums\">ssh &lt;username&gt;@&lt;hostname or IP&gt;<\/pre>\n<p>Replace &lt;username&gt; with your SSH username and &lt;hostname or IP&gt; with the hostname or IP address of your server. You\u2019ll then be prompted to enter the password for your SSH username.<\/p>\n<div class=\"container row col-md-24 support-article panel panel-default panel-body\" style=\"background-color: #f6e9db; border-color: #ead9c7; border: 1px solid #ddd; border-radius: 4px; padding: 1% 2%; background-image: url('\/images\/my_account\/highlight.png'); background-position: left top; background-repeat: repeat-x;\">\n<p><span style=\"font-size: 17px;\"><strong style=\"color: #e77600 !important; font-size: 18px;\">Please Note<\/strong>: that when entering your SSH password, the cursor will not move or provide an indication that you have entered any text.<\/span><\/p>\n<\/div>\n<p>That\u2019s it, you\u2019ve successfully connected to the command line interface for your server via SSH and should see a prompt allowing you to enter commands.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers. Let\u2019s get started\u2026 What is SSH? SSH (Secure-shell) is a network protocol used to securely connect to a remote computer \u2013 this is commonly used for command line access on Unix\/Linux systems. If [&hellip;]<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"open","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[4],"ht-kb-tag":[18],"class_list":["post-118","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-managing-web-hosting","ht_kb_tag-cloud-servers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to connect to your server via SSH - LCN.com<\/title>\n<meta name=\"description\" content=\"This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers.\" \/>\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.lcn.com\/support\/articles\/how-to-connect-via-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to connect to your server via SSH - LCN.com\" \/>\n<meta property=\"og:description\" content=\"This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"Customer Support Guides - LCN\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/lcndotcom\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-02T09:57:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lcn.com\/support\/articles\/attachment\/649\/inline\/original\/1514973791\/putty_config.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@lcndotcom\" \/>\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.lcn.com\/support\/articles\/how-to-connect-via-ssh\/\",\"url\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/\",\"name\":\"How to connect to your server via SSH - LCN.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#website\"},\"datePublished\":\"2020-02-12T10:36:39+00:00\",\"dateModified\":\"2021-06-02T09:57:07+00:00\",\"description\":\"This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.lcn.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to connect to your server via SSH\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.lcn.com\/support\/#website\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"name\":\"Customer Support Guides - LCN\",\"description\":\"- LCN\",\"publisher\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.lcn.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.lcn.com\/support\/#organization\",\"name\":\"LCN.com\",\"url\":\"https:\/\/www.lcn.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"contentUrl\":\"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg\",\"width\":461,\"height\":461,\"caption\":\"LCN.com\"},\"image\":{\"@id\":\"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/lcndotcom\",\"https:\/\/x.com\/lcndotcom\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to connect to your server via SSH - LCN.com","description":"This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers.","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.lcn.com\/support\/articles\/how-to-connect-via-ssh\/","og_locale":"en_US","og_type":"article","og_title":"How to connect to your server via SSH - LCN.com","og_description":"This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers.","og_url":"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/","og_site_name":"Customer Support Guides - LCN","article_publisher":"https:\/\/www.facebook.com\/lcndotcom","article_modified_time":"2021-06-02T09:57:07+00:00","og_image":[{"url":"https:\/\/www.lcn.com\/support\/articles\/attachment\/649\/inline\/original\/1514973791\/putty_config.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@lcndotcom","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/","url":"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/","name":"How to connect to your server via SSH - LCN.com","isPartOf":{"@id":"https:\/\/www.lcn.com\/support\/#website"},"datePublished":"2020-02-12T10:36:39+00:00","dateModified":"2021-06-02T09:57:07+00:00","description":"This guide will explain how to connect to your server via SSH. For customers using LCN Cloud servers or legacy VPS\/Dedicated servers.","breadcrumb":{"@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lcn.com\/support\/articles\/how-to-connect-via-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lcn.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to connect to your server via SSH"}]},{"@type":"WebSite","@id":"https:\/\/www.lcn.com\/support\/#website","url":"https:\/\/www.lcn.com\/support\/","name":"Customer Support Guides - LCN","description":"- LCN","publisher":{"@id":"https:\/\/www.lcn.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lcn.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.lcn.com\/support\/#organization","name":"LCN.com","url":"https:\/\/www.lcn.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","contentUrl":"https:\/\/www.lcn.com\/support\/wp-content\/uploads\/2020\/02\/ZF_-hcc3.jpg","width":461,"height":461,"caption":"LCN.com"},"image":{"@id":"https:\/\/www.lcn.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/lcndotcom","https:\/\/x.com\/lcndotcom"]}]}},"_links":{"self":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/comments?post=118"}],"version-history":[{"count":2,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/118\/revisions"}],"predecessor-version":[{"id":1553,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb\/118\/revisions\/1553"}],"wp:attachment":[{"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/media?parent=118"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-category?post=118"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.lcn.com\/support\/wp-json\/wp\/v2\/ht-kb-tag?post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}