{"id":3436,"date":"2009-12-14T17:05:05","date_gmt":"2009-12-14T21:05:05","guid":{"rendered":"https:\/\/apps4rent.com\/support\/?p=3436"},"modified":"2013-05-28T05:48:56","modified_gmt":"2013-05-28T09:48:56","slug":"how-to-ssh-login-to-your-server-without-password","status":"publish","type":"post","link":"https:\/\/www.apps4rent.com\/support\/kb\/article\/how-to-ssh-login-to-your-server-without-password","title":{"rendered":"How to SSH login to your server without password?"},"content":{"rendered":"<p><strong>Instructions to login without password to your server using SSH.<\/strong><\/p>\n<p>You need to generate SSH Key (the private key) on your Linux local computer and then update remote linux computer or server with the authorized_keys (the public key).<\/p>\n<p>1. Check if .ssh folder already exist under your home directory (\/home\/user-name\/.shh ).<br \/>\nIf not create a folder .ssh<br \/>\n# mkdir .ssh<\/p>\n<p>2. Generate or create SSH key run ssh-keygen command.<br \/>\n# ssh-keygen -t rsa<\/p>\n<p>Press enter for all the below options to save the default settings:<br \/>\n-&gt; Enter file in which to save the key (\/Users\/exampleuser\/.ssh\/id_rsa)<br \/>\n-&gt; Enter passphrase (empty for no passphrase)<br \/>\n-&gt; Enter same passphrase again<\/p>\n<p>Now you have created the key pair.You can find all the newly generated files in your .ssh folder.<\/p>\n<p># ls<\/p>\n<p>id_rsa id_rsa.pub known_hosts<\/p>\n<p>you need to copy the *.pub file to your remote computer or server. Copy the file id_rsa.pub to your web server and save it as authorized_keys under<\/p>\n<p>\/home\/user-name\/.ssh\/<br \/>\nRestart sshd.<\/p>\n<p><strong>Related Links:<\/strong><\/p>\n<p><a title=\"MOSS 2007\" href=\"http:\/\/www.apps4rent.com\/microsoft-office-sharepoint-server-moss-2007-hosting\/moss-2007-sharepoint.html\">MOSS 2007<\/a><\/p>\n<p><a title=\"Hyper-V Hosting\" href=\"http:\/\/www.apps4rent.com\/Server-Virtualization-VPS-Software-Hosting\/Microsoft-Hyper-V-2008\/hyper-v-hosting.html\" target=\"_blank\">Windows Hyper-V Hosting<\/a><\/p>\n<p><a title=\"Virtual Dedicated Servers\" href=\"http:\/\/www.apps4rent.com\/virtual-dedicated-private-server-windows-hyper-v-vds-vs-vps-hosting\/virtual-dedicated-server.html\" target=\"_blank\">Virtual Dedicated Servers (VDS)<\/a><\/p>\n<p><a title=\"Hyper-V Price Plans\" href=\"http:\/\/www.apps4rent.com\/Hyper-V-Hosting-Services-Pricing-Plans\/hyperv-hostingplans.html\" target=\"_blank\">Hyper-V Price Plans<\/a><\/p>\n<p><a title=\"Hyper-V Features\" href=\"http:\/\/www.apps4rent.com\/Hosting-Hyper-V-Virtualization-Server-Virtual-Private-Architecture-Features\/hyperv-features.html\" target=\"_blank\">Hyper-V Features<\/a><\/p>\n<p><a title=\"Server Administration Plan\" href=\"http:\/\/www.apps4rent.com\/server-administration-managed-services-plans-hyper-v-kaseya-hosting.html\">Server Administration Plan<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Instructions to login without password to your server using SSH. You need to generate SSH Key (the private key) on your Linux local computer and then update remote linux computer or server with the authorized_keys (the public key). 1. Check if .ssh folder already exist under your home directory (\/home\/user-name\/.shh ). If not create a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1056,1054],"tags":[],"class_list":["post-3436","post","type-post","status-publish","format-standard","hentry","category-hyper-v","category-virtual-servers"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/posts\/3436","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/comments?post=3436"}],"version-history":[{"count":0,"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/posts\/3436\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/media?parent=3436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/categories?post=3436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apps4rent.com\/support\/wp-json\/wp\/v2\/tags?post=3436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}