{"id":4618,"date":"2018-08-28T13:41:53","date_gmt":"2018-08-28T13:41:53","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2018\/08\/28\/verify-checksums-ssh\/"},"modified":"2021-11-19T01:38:02","modified_gmt":"2021-11-19T06:38:02","slug":"verify-checksums-ssh","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/","title":{"rendered":"Verify File Checksums with SSH"},"content":{"rendered":"<p>After downloading a file, it\u2019s always helpful to validate it to ensure its not corrupt or malicous. You can accomplish this by <strong>comparing checksums<\/strong> \u2013 <em>md5sum, sha1, sha256, sha512, etc.<\/em> \u2013 against the original file if its published on the official website. You can use your computer, SSH, and websites such as <a href=\"https:\/\/www.virustotal.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">VirusTotal.com<\/a> to achieve this. Below we\u2019ll demonstrate how to do this using SSH with a <strong>manual download of WordPress 4.9.8<\/strong>.<\/p>\n<p class=\"alert alert-info\"><strong>Note<\/strong>: The higher the number in the algorithm \u2013 <em>sha224, sha384, etc.<\/em> \u2013 the stronger the authentication process. Also, this along with the larger the file being validated determines the time before validation completes.<\/p>\n<p id=\"warning\" class=\"alert alert-warning\"><strong>Warning<\/strong>: Verifying the checksum against the website only checks that it wasn\u2019t corrupted during the download. It doesn\u2019t guarantee the file isn\u2019t malicious. If the website is hacked, the checksum could also be modified to that of the malicious file. If you believe you may have malicious content on your server, please <a href=\"\/support\/amp\/submitting-and-checking-on-status-of-tickets\/#submit-support-request\" target=\"_blank\" rel=\"noopener noreferrer\">request a free server scan<\/a> and review our <a href=\"\/support\/website\/backup-and-restore\/recovering-from-a-hack\/\" target=\"_blank\" rel=\"noopener noreferrer\">hack recovery guide<\/a>.<\/p>\n<h2>Verify Checksum with SSH<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/website\/how-to-upload-files-server\/\" target=\"_blank\" rel=\"noopener noreferrer\">Upload the file(s)<\/a> into the <a href=\"\/support\/website\/where-to-upload-files\/\" target=\"_blank\" rel=\"noopener noreferrer\">correct directory<\/a>.<\/li>\n<li>SSH into the cPanel account using the correct steps for your hosting plan \u2013 <a href=\"\/support\/server\/ssh\/shared-reseller-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">Shared<\/a> or <a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" rel=\"noopener noreferrer\">VPS\/Dedicated<\/a>.<\/li>\n<li>Type the preferred checksum command and the path to the file \u2013<br>\ne.g. <code>md5sum file.jpg<\/code> or <code>sha1sum public_html\/file.png<\/code>.<br>\nFor example, here\u2019s the <em>md5sum<\/em> and <em>sha1sum<\/em> output for the downloaded <a href=\"https:\/\/wordpress.org\/download\/releases\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress 4.9.8<\/a>:<br>\n<a href=\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\" rel=\"lightbox-0\"><img decoding=\"async\" class=\"std_ss\" title=\"\" src=\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\" alt=\"Screenshot of md5sum and sha1sum for wordpress-4.9.8.tar.gz file in SSH\" align=\"none\"><\/a>\n<div style=\"clear: both;\"><\/div>\n<\/li>\n<li>Check that the checksum(s) match the original file. Both checksums above match the <a href=\"https:\/\/wordpress.org\/wordpress-4.9.8.tar.gz.md5\" target=\"_blank\" rel=\"noopener noreferrer\">md5<\/a> and <a href=\"https:\/\/wordpress.org\/wordpress-4.9.8.tar.gz.sha1\" target=\"_blank\" rel=\"noopener noreferrer\">sha1<\/a> checksum respectively from <a href=\"https:\/\/wordpress.org\/download\/releases\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress.org<\/a>.<\/li>\n<\/ol>\n<p>If your SSH checksum matches what\u2019s on the official site, congratulations. If not, you may want to try another validation program (e.g. <a href=\"https:\/\/www.inmotionhosting.com\/support\/security\/checksums-gtkhash\/\">GtkHash<\/a>) or method of downloading the original file such as from a reputable location.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After downloading a file, it\u2019s always helpful to validate it to ensure its not corrupt or malicous. You can accomplish this by comparing checksums \u2013 md5sum, sha1, sha256, sha512, etc. \u2013 against the original file if its published on the official website. You can use your computer, SSH, and websites such as VirusTotal.com to achieve<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4299,4307],"tags":[],"class_list":["post-4618","post","type-post","status-publish","format-standard","hentry","category-security","category-ssh"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Verify File Checksums with SSH | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Learn how to Verify File Checksums with SSH\" \/>\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.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Verify File Checksums with SSH | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Learn how to Verify File Checksums with SSH\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-28T13:41:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-19T06:38:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Verify File Checksums with SSH\",\"datePublished\":\"2018-08-28T13:41:53+00:00\",\"dateModified\":\"2021-11-19T06:38:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\"},\"wordCount\":300,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\",\"articleSection\":[\"Security\",\"SSH and Root Access\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\",\"name\":\"Verify File Checksums with SSH | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\",\"datePublished\":\"2018-08-28T13:41:53+00:00\",\"dateModified\":\"2021-11-19T06:38:02+00:00\",\"description\":\"Learn how to Verify File Checksums with SSH\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Verify File Checksums with SSH\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Verify File Checksums with SSH | InMotion Hosting","description":"Learn how to Verify File Checksums with SSH","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.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/","og_locale":"en_US","og_type":"article","og_title":"Verify File Checksums with SSH | InMotion Hosting","og_description":"Learn how to Verify File Checksums with SSH","og_url":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2018-08-28T13:41:53+00:00","article_modified_time":"2021-11-19T06:38:02+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png","type":"","width":"","height":""}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Verify File Checksums with SSH","datePublished":"2018-08-28T13:41:53+00:00","dateModified":"2021-11-19T06:38:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/"},"wordCount":300,"commentCount":2,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png","articleSection":["Security","SSH and Root Access"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/","url":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/","name":"Verify File Checksums with SSH | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png","datePublished":"2018-08-28T13:41:53+00:00","dateModified":"2021-11-19T06:38:02+00:00","description":"Learn how to Verify File Checksums with SSH","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/images\/stories\/hashsums\/hashsum-1-ssh-md5sum-sha1sum-bigger.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/verify-checksums-ssh\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Verify File Checksums with SSH"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4618"}],"version-history":[{"count":5,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4618\/revisions"}],"predecessor-version":[{"id":91931,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4618\/revisions\/91931"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}