{"id":2008,"date":"2014-11-19T00:10:28","date_gmt":"2014-11-19T00:10:28","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=2008"},"modified":"2014-11-19T00:11:36","modified_gmt":"2014-11-19T00:11:36","slug":"no-password-login","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/no-password-login\/","title":{"rendered":"No Password Login"},"content":{"rendered":"<p class=\"header1\">Using public-key authentication to an HP-UX host<\/p>\n<p>NOTE: <strong>Protect the private key. <\/strong>Anyone with this key can access the host without providing a password.<\/p>\n<ol>\n<li>Create a public\/privatekey pair.<br \/>\n&lt;See <a href=\"http:\/\/docs.hp.com\/en\/5991-7493\/ch04s03.html\">Configuring Public-Key Authentication<\/a> at HP.&gt;From the users account on the HPUX system, type:<\/p>\n<pre>ssh-keygen -t dsa\r\n\r\nGenerating public\/private dsa key pair.\r\nEnter file in which to save the key (~\/.ssh\/id_dsa): ...\r\nEnter passphrase (empty for no passphrase):\r\nEnter same passphrase again:\r\nYour identification has been saved in ...\r\nYour public key has been saved in ...\r\nThe key fingerprint is:\r\n84:7d:f5:dd:88:f7:53:88:8a:6e:f7:85:04:28:6e:ed root@hostname<\/pre>\n<p>This command will create the files id_dsa and id_dsa.pub. The file id_dsa contains the private key, please protect this file.<\/li>\n<li>Add the public key to the &#8220;~\/.ssh\/authorized_keys&#8221; file.The is the directory used by ssh-keygen. If the file does not exist, create it. Copy the contents of id_dsa.pub to authorized_keys. Set .ssh and authorized_keys to be <strong>not<\/strong> world or group readable (chmod 600).<\/li>\n<li>Configure sshd_conf for public-key authentication.PubkeyAuthentication yes<\/li>\n<li>Restart sshd on the server.<\/li>\n<li>Move the private key to the users window directory as id_dsa.The directory name varies by version of Windows. Check the &#8220;About Secure92&#8221; dialog box for the currently configured directory.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Using public-key authentication to an HP-UX host NOTE: Protect the private key. Anyone with this key can access the host without providing a password. Create a public\/privatekey pair. &lt;See Configuring Public-Key Authentication at HP.&gt;From the users account on the HPUX system, type: ssh-keygen -t dsa Generating public\/private dsa key pair. Enter file in which to [&hellip;]<\/p>\n","protected":false},"author":75,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,62],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2008"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/75"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=2008"}],"version-history":[{"count":2,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2008\/revisions"}],"predecessor-version":[{"id":2010,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/2008\/revisions\/2010"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=2008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=2008"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=2008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}