{"id":1313789,"date":"2019-06-28T10:51:37","date_gmt":"2019-06-28T08:51:37","guid":{"rendered":"https:\/\/wp-rocket.me\/?p=1313789"},"modified":"2022-03-11T11:08:14","modified_gmt":"2022-03-11T10:08:14","slug":"command-line-ssh","status":"publish","type":"post","link":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/","title":{"rendered":"How to Use the Command Line \/ SSH: A Practical Guide"},"content":{"rendered":"<p>If you know how to use the command line and SSH, you manage your website and server much quicker than you would using the front end admin area.<\/p><p><a href=\"http:\/\/www.linfo.org\/command_line.html\">According to the Linux Information Project<\/a>: \u201cA command line is the space to the right of the command prompt on an all-text display mode on a computer monitor in which a user enters commands and data. It provides a means of communication between a user and a computer that is based solely on textual input and output.\u201d<\/p><p>You can use it with the Secure Socket Shell Protocol, or Secure Shell Protocol (SSH) to log in, execute commands, and manage data securely between computers using an encrypted connection.<\/p><p>This also includes logging into your server to transfer, execute, and otherwise manage the files and folders on your website at lightning speeds.<\/p><p>Today, I\u2019ll share how to use the command line and SSH to manage your website as well as more detail on what they are, and the requirements to use them.<\/p><h2 class=\"wp-block-heading\">What is the Command Line<\/h2><p>To understand what the command line is, exactly, it\u2019s essential to first know about the command prompt, and Command-Line Interface, what a command is as well as the apps you need to use them to manage your website, or network.<\/p><p>A Command-Line Interface (CLI) is a user interface (UI) that\u2019s text based. It\u2019s typically a program with a black, or white background. You type commands into it to manage files and folders on a computer, or server.<\/p><figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"300\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-terminal-app.jpg\" alt=\"Terminal app on Mac\" class=\"wp-image-1314144\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-terminal-app.jpg 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-terminal-app-300x113.jpg 300w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-terminal-app-768x288.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption><em>The Terminal app on Mac.<\/em><\/figcaption><\/figure><p>Windows has a CLI called Command Prompt and for Mac computers, there\u2019s the Terminal.app. Both are pre-installed. You can use one of them, and there are also other options available such as <a href=\"https:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/latest.html\">PuTTY<\/a>.<\/p><p>Here\u2019s where things get a little confusing: The command prompt can also be used to describe the symbol or series of characters that appear in the CLI and asks \u2013 or prompts \u2013 the user to enter a command. It\u2019s sometimes referred to as a \u201cprompt.\u201d<\/p><p>A command is an instruction that the user types into the CLI that they want executed. This can be creating and naming a file or folder, transferring files, moving them, editing them, and many other options.<\/p><p>A command line is the line or space that appears after the prompt where the user can type a command.<\/p><p>If that\u2019s not confusing enough already, try this on for size: \u201cCommand Line\u201d is often used to refer to a CLI, especially for Linux operating systems.<\/p><h2 class=\"wp-block-heading\">What is SSH<\/h2><p>Secure Shell or Secure Socket Shell (SSH) is a protocol used to securely connect to an otherwise insecure computer, or server.<\/p><p>It uses cryptography to provide strong authentication methods to determine that a computer or server you\u2019re trying to connect to is legitimate, and actually where you meant to connect.<\/p><p>It also uses encryption to secure the connection between your computer and the destination.<\/p><p>It\u2019s a successor to Telnet, rlogin, and rsh. It securely replaces all of these other protocols which were prominently used in the 1990\u2019s. It\u2019s now best practise to use SSH over these other options.<\/p><p>You can enable SSH when you use the command line to ensure your connection is secure and your data is safe.<\/p><p>\u201cSSH\u201d is also used among web developers in casual conversations to refer to using the command line with SSH.<\/p><h2 class=\"wp-block-heading\">How to Use the Command Line: Basic Requirements<\/h2><p>The command line is intended to be used with Unix-like distributions such as Linux. But, you can still use it on <a href=\"https:\/\/linoxide.com\/linux-how-to\/how-use-ssh-commands-windows-10-command-prompt\/\">Windows if you install OpenSSH<\/a>.<\/p><p>The <a href=\"https:\/\/www.howtogeek.com\/340688\/whats-coming-in-windows-10s-redstone-4-update-available-march-2018\/\">April 2018 update for Windows 10<\/a> also automatically has OpenSSH installed and enabled so you don\u2019t have to do anything else to use the Command Prompt to connect to your site\u2019s server.<\/p><p>If you\u2019re using a different version of Windows, you can also choose to use PuTTY, or you can use it instead of the updated Command Prompt since it has a user-friendly Graphical User Interface (GUI) that can help you use the command line more efficiently.<\/p><p>To access the Command Prompt, press CTRL and R on your keyboard, type \u201ccmd\u201d into the text field, (without quotation marks) and press the Enter key.<\/p><p>If you have a Mac, you can use the Terminal app that\u2019s inherently available. You can find it in your <strong>Applications &gt; Utilities<\/strong> folder, or you can search for it by name using the Launchpad app. Either way, it\u2019s labelled as \u201cTerminal.app.\u201d<\/p><p>Other than these basic requirements, you also need to have SSH enabled on your server. Depending on your host, or hosting plan, you may not have SSH available such as for shared servers and hosting plans. SSH is typically made available on VPS, dedicated, managed, and some cloud servers.<\/p><p>If you\u2019re unsure of whether you can use SSH to connect to your site\u2019s server, check with your hosting provider. They can also guide you through enabling it since most hosts vary slightly, or a great deal when it comes to their control panels.<\/p><h3 class=\"wp-block-heading\">How to Use the Command Line: Other Requirements<\/h3><p>Other than those basic requirements, there are other tools and options that are commonly used with the command line.<\/p><p>For example, it\u2019s incredibly common to come across tutorial after tutorial that already assumes you have these pre-installed, or updated to the latest version. In most cases, most of these are already set up on your server, but you can ask your host if you\u2019re unsure.<\/p><p>Here are a few common tools that you\u2019ll often need:<\/p><ul class=\"wp-block-list\"><li><a href=\"https:\/\/help.ubuntu.com\/lts\/serverguide\/apt.html\">Advanced Packaging Tool (APT)<\/a> \u2013 A, well, packaging tool for Debian and Ubuntu so you can install programs, scripts, extensions, plugins and apps like <a href=\"https:\/\/wp-cli.org\/\">WP-CLI<\/a>, <a href=\"https:\/\/wp-rocket.me\/blog\/redis-object-caching\/\">Redis<\/a>, an <a href=\"https:\/\/wp-rocket.me\/blog\/get-install-ssl-certificate-https-asap\/\">SSL certificate<\/a>, and boundless other options.<\/li><li><a href=\"https:\/\/www.gnu.org\/software\/wget\/manual\/wget.html\">GNU WGET Utility<\/a> \u2013 You can use this to install various programs similar to APT, but for Linux instead.<\/li><li><a href=\"http:\/\/www.atmos.albany.edu\/daes\/atmclasses\/atm350\/vi_cheat_sheet.pdf\">VI Visual Text Editor<\/a> \u2013 A text editor for the command line.<\/li><li><a href=\"https:\/\/www.vim.org\/download.php\">VIM Text Editor<\/a> \u2013 An advanced text editor for the command line. It can be used with the VI editor.<\/li><li><a href=\"https:\/\/www.thegeekdiary.com\/beginners-guide-to-yum-configuration\/\">YUM<\/a> \u2013 It\u2019s a utility used to manage and install packages.<\/li><\/ul><p>Keep in mind that this is by no means a complete list, but it should give you a good idea of what to expect and look for when you learn how to use the command line and SSH.<\/p><h3 class=\"wp-block-heading\">How to Use the Command Line: What You Need to Connect<\/h3><p>To use the command line, there are some key things you need to connect to your site\u2019s server:<\/p><ul class=\"wp-block-list\"><li><strong>IP address<\/strong><\/li><li><strong>Username<\/strong><\/li><li><strong>Password<\/strong><\/li><li><strong>Port number<\/strong><\/li><\/ul><p>Typically, these can all can be found before, or after logging into your account with your hosting provider.<\/p><p>The username for servers can often be \u201croot,\u201d but this isn\u2019t always the case so be sure to double check. The username and password typically is the same as your credentials to log into your web host account. This isn\u2019t always the case so when in doubt, contact your host.<\/p><p>Commonly, port number 22 is used in most cases, but this also isn\u2019t always the case. You can also check with your host to be sure of which port you should use.<\/p><p>In cPanel, you can find your IP address on the right-hand side after logging in.<\/p><figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-cpanel-ip-address-ssh.jpg\" alt=\"You can find your server\u2019s IP address in cPanel.\" class=\"wp-image-1314150\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-cpanel-ip-address-ssh.jpg 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-cpanel-ip-address-ssh-300x188.jpg 300w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-cpanel-ip-address-ssh-768x480.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption><em>You can find your server\u2019s IP address in cPanel.<\/em><\/figcaption><\/figure><h2 class=\"wp-block-heading\">How to Use the Command Line: Logging In<\/h2><p>Once you have noted the credentials you need as listed above, you can go ahead and fire up Command Prompt, the Terminal app, or whatever CLI you want to use.<\/p><p>Next, type the command below, then press the enter or return key on your keyboard:<\/p><script src=\"https:\/\/gist.github.com\/jennimckinnon\/6191eb539d294f72350ce5715b5f5eea.js\"><\/script><p>Be sure to replace \u201cusername\u201d with your actual username, and \u201cIP address\u201d with your server\u2019s IP address. You can also choose to use your domain name instead of your server\u2019s IP address.<\/p><p>For example, your command should look similar to the example below:<\/p><script src=\"https:\/\/gist.github.com\/jennimckinnon\/f278dbaed3dbe637bc156291ae6071ce.js\"><\/script><p>Once that\u2019s done, you\u2019ll be prompted to enter your password. Type it in, then press the enter or return key again.<\/p><p>If you need to use a port number other than 22, use this command instead:<\/p><script src=\"https:\/\/gist.github.com\/jennimckinnon\/274bec67c2a21aecee3f1e500a8bce40.js\"><\/script><p>Similar to the above example, replace \u201cusername\u201d and \u201cIP address\u201d in this example with your actual credentials. Also, replace \u201c####\u201d with the port number you want to use.<\/p><p>For example, your command will look similar to this:<\/p><script src=\"https:\/\/gist.github.com\/jennimckinnon\/bddcb789660d3e8986cc6775b4176c4c.js\"><\/script><h3 class=\"wp-block-heading\">Logging in with PuTTY<\/h3><p>If you\u2019re using <a href=\"https:\/\/www.putty.org\/\">PuTTY<\/a>, the process of logging in is slightly different.<\/p><p>Once you have downloaded the SSH client, open it and in the configuration window, enter your IP address and port number into the corresponding fields. Be sure to also select the <strong>SSH<\/strong> option under <strong>Connection type<\/strong> if it\u2019s not already selected.<\/p><figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"785\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-putty-configuration.png\" alt=\"PuTTY configuration\" class=\"wp-image-1314177\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-putty-configuration.png 800w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-putty-configuration-300x294.png 300w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-putty-configuration-768x754.png 768w, https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-putty-configuration-80x80.png 80w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><figcaption><em>With PuTTY, enter your server\u2019s IP address and port number in the GUI.<\/em><\/figcaption><\/figure><p>Next, click the <strong>Open<\/strong> button.<\/p><p>A new window will launch with the command line. Type your username, then press <em>enter<\/em> or <em>return<\/em> on your keyboard.<\/p><p>Next, type your password. Then, press the <em>enter<\/em> or <em>return<\/em> key again.<\/p><div id=\"om-ulrdquoprwqcywqbbgci-holder\"><\/div>\n\t<script>(function (d, u, ac) {\n\t\t\tvar s = d.createElement('script')\n\t\t\ts.type = 'text\/javascript'\n\t\t\ts.src = 'https:\/\/a.omappapi.com\/app\/js\/api.min.js'\n\t\t\ts.async = true\n\t\t\ts.dataset.user = u\n\t\t\ts.dataset.campaign = ac\n\t\t\td.getElementsByTagName('head')[0].appendChild(s)\n\t\t})(document, 20440, 'ulrdquoprwqcywqbbgci')<\/script><h2 class=\"wp-block-heading\">How to Use the Command Line: Commands<\/h2><p>Now that you\u2019re logged in, you can start entering the commands you need to fulfill the tasks you want to accomplish.<\/p><p>For full lists of commands, you can use, check out <a href=\"https:\/\/ss64.com\/bash\/\">An A-Z List of the Linux Command Line<\/a>, <a href=\"https:\/\/milq.github.io\/useful-terminal-commands-ubuntu-debian\/\">Useful Terminal Commands for Ubuntu or Debian<\/a>, and <a href=\"https:\/\/www.puttygen.com\/putty-commands\">Basic SSH (PuTTY) Commands<\/a>. You can also take a look at this <a href=\"https:\/\/www.pcwdld.com\/linux-commands-cheat-sheet\">Linux Commands Cheat Sheet<\/a>.<\/p><h2 class=\"wp-block-heading\">Wrapping Up<\/h2><p>Chances are you already have everything you need to get started, and now you know how to use the command line with SSH to manage your site and server files and folders.<\/p><p><em>Do you now know how to use the command line and SSH, or are there some questions that you still have? What type of CLI do you use, and which one do you prefer? Do you prefer using a GUI? Share your experience in the comments below.<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.<\/p>\n","protected":false},"author":43576,"featured_media":1314190,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"kia_subtitle":"","footnotes":""},"categories":[117],"tags":[],"class_list":["post-1313789","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-themes-plugin"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use the Command Line \/ SSH: A Practical Guide<\/title>\n<meta name=\"description\" content=\"Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the Command Line \/ SSH: A Practical Guide\" \/>\n<meta property=\"og:description\" content=\"Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Rocket\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\" \/>\n<meta property=\"article:published_time\" content=\"2019-06-28T08:51:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-11T10:08:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"460\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jenni McKinnon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:site\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jenni McKinnon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\"},\"author\":{\"name\":\"Jenni McKinnon\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/c424c8db717ce33f9f70867f0a962ac2\"},\"headline\":\"How to Use the Command Line \/ SSH: A Practical Guide\",\"datePublished\":\"2019-06-28T08:51:37+00:00\",\"dateModified\":\"2022-03-11T10:08:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\"},\"wordCount\":1670,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png\",\"articleSection\":[\"Themes &amp; Plugins\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\",\"url\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\",\"name\":\"How to Use the Command Line \/ SSH: A Practical Guide\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png\",\"datePublished\":\"2019-06-28T08:51:37+00:00\",\"dateModified\":\"2022-03-11T10:08:14+00:00\",\"description\":\"Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.\",\"breadcrumb\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png\",\"width\":1100,\"height\":460,\"caption\":\"How to use the command line and SSH\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp-rocket.me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Themes &amp; Plugins\",\"item\":\"https:\/\/wp-rocket.me\/blog\/wordpress-themes-plugin\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Use the Command Line \/ SSH: A Practical Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wp-rocket.me\/#website\",\"url\":\"https:\/\/wp-rocket.me\/\",\"name\":\"WP Rocket\",\"description\":\"Plugin d&#039;optimisation de sites WordPress\",\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wp-rocket.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wp-rocket.me\/#organization\",\"name\":\"WP Rocket\",\"url\":\"https:\/\/wp-rocket.me\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"width\":150,\"height\":41,\"caption\":\"WP Rocket\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\",\"https:\/\/x.com\/wp_rocket\",\"https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/c424c8db717ce33f9f70867f0a962ac2\",\"name\":\"Jenni McKinnon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1a368446f4bf1880c0e5a8cb742aed12?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1a368446f4bf1880c0e5a8cb742aed12?s=96&d=mm&r=g\",\"caption\":\"Jenni McKinnon\"},\"description\":\"A copywriter, copy editor, web developer, consultant, course instructor and founder of WP Pros(e), Jenni McKinnon has spent the past 15 years developing websites and almost as long for WordPress. A self-described WordPress nerd, she enjoys watching The Simpsons and names her test sites after references from the show.\",\"sameAs\":[\"https:\/\/wpprose.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use the Command Line \/ SSH: A Practical Guide","description":"Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.","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:\/\/wp-rocket.me\/blog\/command-line-ssh\/","og_locale":"en_US","og_type":"article","og_title":"How to Use the Command Line \/ SSH: A Practical Guide","og_description":"Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.","og_url":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","article_published_time":"2019-06-28T08:51:37+00:00","article_modified_time":"2022-03-11T10:08:14+00:00","og_image":[{"width":1100,"height":460,"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png","type":"image\/png"}],"author":"Jenni McKinnon","twitter_card":"summary_large_image","twitter_creator":"@wp_rocket","twitter_site":"@wp_rocket","twitter_misc":{"Written by":"Jenni McKinnon","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#article","isPartOf":{"@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/"},"author":{"name":"Jenni McKinnon","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/c424c8db717ce33f9f70867f0a962ac2"},"headline":"How to Use the Command Line \/ SSH: A Practical Guide","datePublished":"2019-06-28T08:51:37+00:00","dateModified":"2022-03-11T10:08:14+00:00","mainEntityOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/"},"wordCount":1670,"commentCount":2,"publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png","articleSection":["Themes &amp; Plugins"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/","url":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/","name":"How to Use the Command Line \/ SSH: A Practical Guide","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png","datePublished":"2019-06-28T08:51:37+00:00","dateModified":"2022-03-11T10:08:14+00:00","description":"Do you need to know how to use the command line with SSH to connect to your site\u2019s server? If you also need more detail on what they are, look no further.","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/blog\/command-line-ssh\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#primaryimage","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/wp-rocket-how-to-use-the-command-line-ssh.png","width":1100,"height":460,"caption":"How to use the command line and SSH"},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/blog\/command-line-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-rocket.me"},{"@type":"ListItem","position":2,"name":"Themes &amp; Plugins","item":"https:\/\/wp-rocket.me\/blog\/wordpress-themes-plugin\/"},{"@type":"ListItem","position":3,"name":"How to Use the Command Line \/ SSH: A Practical Guide"}]},{"@type":"WebSite","@id":"https:\/\/wp-rocket.me\/#website","url":"https:\/\/wp-rocket.me\/","name":"WP Rocket","description":"Plugin d&#039;optimisation de sites WordPress","publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp-rocket.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wp-rocket.me\/#organization","name":"WP Rocket","url":"https:\/\/wp-rocket.me\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","width":150,"height":41,"caption":"WP Rocket"},"image":{"@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","https:\/\/x.com\/wp_rocket","https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q"]},{"@type":"Person","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/c424c8db717ce33f9f70867f0a962ac2","name":"Jenni McKinnon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1a368446f4bf1880c0e5a8cb742aed12?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1a368446f4bf1880c0e5a8cb742aed12?s=96&d=mm&r=g","caption":"Jenni McKinnon"},"description":"A copywriter, copy editor, web developer, consultant, course instructor and founder of WP Pros(e), Jenni McKinnon has spent the past 15 years developing websites and almost as long for WordPress. A self-described WordPress nerd, she enjoys watching The Simpsons and names her test sites after references from the show.","sameAs":["https:\/\/wpprose.com"]}]}},"_links":{"self":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/1313789"}],"collection":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/users\/43576"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/comments?post=1313789"}],"version-history":[{"count":0,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/1313789\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media\/1314190"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media?parent=1313789"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/categories?post=1313789"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/tags?post=1313789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}