{"id":520,"date":"2016-06-17T10:40:27","date_gmt":"2016-06-17T14:40:27","guid":{"rendered":"http:\/\/easy-admin.ca\/?p=520"},"modified":"2018-01-31T20:33:52","modified_gmt":"2018-02-01T01:33:52","slug":"virtualmin-multiple-account-rsa-key-setup","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2016\/06\/17\/virtualmin-multiple-account-rsa-key-setup\/","title":{"rendered":"Virtualmin multiple account RSA-2048 Bits Key Setup"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-535 size-large\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-security-1024x536.png\" alt=\"rsa-security\" width=\"660\" height=\"345\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-security-1024x536.png 1024w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-security-300x157.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-security-768x402.png 768w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-security.png 1200w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/p>\n<p>In the article I will eleborate how to install a 2048 Bits RSA Encryption Key for multiple Virtual Server on your Webmin\/Virtualmin system.<\/p>\n<p><strong>Generate the RSA Key in your <span style=\"color: #ff0000;\">\/home\/accountname\/.ssh<\/span><\/strong><\/p>\n<p>To do that, you can log in as the SSH user in question, navigate to the \/home\/accountname\/.ssh folder, and run this command:<\/p>\n<p><strong>ssh-keygen -t rsa<\/strong><\/p>\n<p>That will generate (2) key files.<br \/>\n<strong>id_rsa<\/strong> and <strong>id_rsa.pub<\/strong><\/p>\n<p>id_rsa = Client<br \/>\nid_rsa.pub = Server<\/p>\n<p>Next step will be to add or create a file called authorized_keys inside the\u00a0 <strong>\/home\/accountname\/.ssh<\/strong><\/p>\n<p>Open a text editor leave it blank and copy the content of the id_rsa.pub key. Save the file &amp; upload it to your server into \/home\/accountname\/.ssh<\/p>\n<p>Now download your id_rsa key on your system in a safe place.<\/p>\n<p>After those steps you will be able to connect using RSA 2048 Bits Key. The key is good for FileZilla, Putty or any other program that support KeyFile Login.<\/p>\n<p><strong>FILEZILLA<br \/>\n<\/strong><em><span style=\"color: #ff0000;\">* Make sure to have the latest version. In older version you don&#8217;t have the option of using a <strong>KEY File<\/strong> !<\/span><\/em><strong><br \/>\n<\/strong><\/p>\n<p><a href=\"http:\/\/easy-admin.ca\/my_uploads\/2016\/06\/filezilla-rsa-key.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-521 size-large\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/filezilla-rsa-key-654x1024.jpg\" alt=\"filezilla-rsa-key\" width=\"654\" height=\"1024\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/filezilla-rsa-key-654x1024.jpg 654w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/filezilla-rsa-key-192x300.jpg 192w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/filezilla-rsa-key-768x1203.jpg 768w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/filezilla-rsa-key.jpg 1201w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/a><\/p>\n<p><strong>PUTTY<\/strong><\/p>\n<p><a href=\"http:\/\/easy-admin.ca\/my_uploads\/2016\/06\/ras-putty.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-522 size-large\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/ras-putty-1024x472.png\" alt=\"ras-putty\" width=\"660\" height=\"304\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/ras-putty-1024x472.png 1024w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/ras-putty-300x138.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/ras-putty-768x354.png 768w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/ras-putty.png 1079w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p>NOTE: Make sure those options are there in\u00a0 <strong>\/etc\/ssh\/sshd_config<\/strong><\/p>\n<p><strong># The default is to check both .ssh\/authorized_keys and .ssh\/authorized_keys2<\/strong><br \/>\n<strong># but this is overridden so installations will only check<\/strong> <strong>.ssh\/authorized_keys<\/strong><br \/>\n<span style=\"color: #ff0000;\">AuthorizedKeysFile\u00a0\u00a0 \u00a0.ssh\/authorized_keys<\/span><\/p>\n<p><strong># To disable tunneled clear text passwords, change to <span style=\"color: #ff0000;\">no<\/span> here!<\/strong><br \/>\n#PasswordAuthentication yes<br \/>\n#PermitEmptyPasswords no<br \/>\n<span style=\"color: #ff0000;\">PasswordAuthentication no<\/span><\/p>\n<p># Change to no to disable s\/key passwords<br \/>\n#ChallengeResponseAuthentication yes<br \/>\n<span style=\"color: #ff0000;\">ChallengeResponseAuthentication no<\/span><\/p>\n<p><a href=\"http:\/\/easy-admin.ca\/my_uploads\/2016\/06\/rsa-putty.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-530 size-full\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-putty.png\" alt=\"rsa-putty\" width=\"931\" height=\"463\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-putty.png 931w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-putty-300x149.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2016\/06\/rsa-putty-768x382.png 768w\" sizes=\"auto, (max-width: 931px) 100vw, 931px\" \/><\/a><\/p>\n<p><strong><em>Et voil\u00e0!<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the article I will eleborate how to install a 2048 Bits RSA Encryption Key for multiple Virtual Server on your Webmin\/Virtualmin system. Generate the RSA Key in your \/home\/accountname\/.ssh To do that, you can log in as the SSH user in question, navigate to the \/home\/accountname\/.ssh folder, and run this command: ssh-keygen -t rsa &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2016\/06\/17\/virtualmin-multiple-account-rsa-key-setup\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Virtualmin multiple account RSA-2048 Bits Key Setup<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-520","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/520\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=520"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=520"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}