{"id":471,"date":"2019-03-02T14:28:13","date_gmt":"2019-03-02T14:28:13","guid":{"rendered":"https:\/\/docs.control-webpanel.com\/docs\/admin-guide\/server-settings\/ssh-key-generator"},"modified":"2019-03-04T03:28:52","modified_gmt":"2019-03-04T03:28:52","slug":"ssh-key-generator","status":"publish","type":"docs","link":"https:\/\/docs.control-webpanel.com\/docs\/admin-guide\/server-settings\/ssh-key-generator","title":{"rendered":"SSH Key Generator"},"content":{"rendered":"<p><strong>SSH<\/strong> authentication is an encrypted protocol to access remote server. VPS is visible over the Internet,Now a days lot of password based attacks are there. It is better to use Key based authentication.<\/p>\n<p>SSH key pairs are two crypto-secure keys that can be used to authenticate a client to an SSH server. Each key pair consists of a private key and public key<\/p>\n<p>The private key is holded by the client and should be kept absolutely secret.The corresponding public key can be shared freely without any negative consequences. The public key can be used to encrypt messages that only decrypt by private key. This is the way of passwordless authentication using the key pair.<\/p>\n<p>Private Key is used for accessing the server from remote computer.<br \/>\nPublic Key is used to allow remote connection on the local server<br \/>\nPlace the public key on the server that you want to access, in file \/root\/.ssh\/authorized_keys .<\/p>\n<p>If you want to access this server with the ssh key than copy Public key to \/root\/.ssh\/authorized_keys<br \/>\nand copy Private key to your computer which you will use for accessing this server, Private Key location \/root\/.ssh\/id_rsa .<\/p>\n<p>If you want to access multiple servers with one key than copy the same Public Key to all servers.<\/p>\n<p>login to CWP as root<\/p>\n<p>http:\/\/Server_IP:2030\/<\/p>\n<p>&nbsp;<\/p>\n<p><a  href=\"https:\/\/docs.control-webpanel.com\/wp-content\/uploads\/2018\/09\/2018-09-20-122432_1366x768_scrot.png\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" data-magnific_type=\"gallery\" title=\"\"><img loading=\"lazy\" class=\"aligncenter wp-image-84 size-large\" src=\"https:\/\/docs.control-webpanel.com\/wp-content\/uploads\/2018\/09\/2018-09-20-122432_1366x768_scrot-1024x489.png\" alt=\"\" width=\"835\" height=\"399\" srcset=\"https:\/\/docs.control-webpanel.com\/wp-content\/uploads\/2018\/09\/2018-09-20-122432_1366x768_scrot-1024x489.png 1024w, https:\/\/docs.control-webpanel.com\/wp-content\/uploads\/2018\/09\/2018-09-20-122432_1366x768_scrot-300x143.png 300w, https:\/\/docs.control-webpanel.com\/wp-content\/uploads\/2018\/09\/2018-09-20-122432_1366x768_scrot-768x367.png 768w, https:\/\/docs.control-webpanel.com\/wp-content\/uploads\/2018\/09\/2018-09-20-122432_1366x768_scrot.png 1256w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><\/a><\/p>\n<p>Navigate to<\/p>\n<pre>Server Settings --&gt; SSH Key Generator \r\n\r\n<\/pre>\n<p>We can Generate New SSH Private and Public Key, It will overwrite old files if they exist<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":468,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_tag":[44,43],"_links":{"self":[{"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs\/471"}],"collection":[{"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/comments?post=471"}],"version-history":[{"count":2,"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs\/471\/revisions"}],"predecessor-version":[{"id":1071,"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs\/471\/revisions\/1071"}],"up":[{"embeddable":true,"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs\/468"}],"next":[{"title":"Change Date \/ Time","link":"https:\/\/docs.control-webpanel.com\/docs\/admin-guide\/server-settings\/change-date-time","href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs\/472"}],"prev":[{"title":"Crontab for users","link":"https:\/\/docs.control-webpanel.com\/docs\/admin-guide\/server-settings\/crontab-for-users","href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/docs\/470"}],"wp:attachment":[{"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/media?parent=471"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.control-webpanel.com\/wp-json\/wp\/v2\/doc_tag?post=471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}