{"id":8019,"date":"2021-11-21T22:36:34","date_gmt":"2021-11-21T21:36:34","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=8019"},"modified":"2021-11-22T10:45:14","modified_gmt":"2021-11-22T09:45:14","slug":"esxi-ssh-public-private-key-authentication","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/esxi-ssh-public-private-key-authentication\/","title":{"rendered":"ESXi: ssh public\/private key authentication"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_8019 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_8019')){$('.twoclick_social_bookmarks_post_8019').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"ESXi%3A%20ssh%20public%2Fprivate%20key%20authentication\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Ato%20login%20to%20your%20ESXi%20Hosts%20by%20ssh%20using%20public%2Fprivate%20key%20authentication%20you%20need%20to%20place%20your%20public%20key%20into%20the%20authorized_keys%20file%20of%20the%20correspondenting%20user.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/esxi-ssh-public-private-key-authentication\\\/\",\"post_id\":8019,\"post_title_referrer_track\":\"ESXi%3A+ssh+public%2Fprivate+key+authentication\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>to login to your ESXi Hosts by ssh using public\/private key authentication you need to place your public key into the authorized_keys file of the correspondenting user.<br \/>\n<!--more--><br \/>\nOther than on Linux\/UNIX systems the location of the authorized_keys files is not located in the home directory of the user.<\/p>\n<p>Place your public key into the <strong>\/etc\/ssh\/keys-$USER\/authorized_keys<\/strong> file. <\/p>\n<p>For example for the User root<\/p>\n<p><code><br \/>\n\/etc\/ssh\/keys-root\/authorized_keys<br \/>\n<\/code><\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, to login to your ESXi Hosts by ssh using public\/private key authentication you need to place your public key into the authorized_keys file of the correspondenting user.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[1684,1683,913,14],"class_list":["post-8019","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-authorized_keys","tag-esxi-public-private-key-authentication","tag-location","tag-vmware-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=8019"}],"version-history":[{"count":3,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8019\/revisions"}],"predecessor-version":[{"id":8022,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/8019\/revisions\/8022"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=8019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=8019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=8019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}