{"id":542403,"date":"2010-04-23T03:00:00","date_gmt":"2010-04-23T07:00:00","guid":{"rendered":"tag:blogger.com,1999:blog-1652419620964346731.post-5589619148775667929"},"modified":"2010-04-23T03:00:00","modified_gmt":"2010-04-23T07:00:00","slug":"vmware-esxi-hack-to-allow-ssh","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/542403","title":{"rendered":"VMWare ESXi Hack to Allow SSH"},"content":{"rendered":"<p><a href=\"http:\/\/www.vmware.com\/products\/esxi\/\" >VMWare ESXi<\/a> is running on a proprietary version of Linux. This is a fact. Another fact is that in order to do Linux type stuff in VMWare you need access to the console. Now, I know what you are thinking, there is no console in VMWare ESXi. Well my firend, that is simply not true. How the hell do you think VMWare tech support will get in to fix it when you blow it up? If you guessed console, then give yourself a pat on the back.<\/p>\n<p>There is a secret access into the ESXi console, that is only officially supported if tech support needs to whip out some VM kung fu. Doesn\u2019t mean you and I can\u2019t access it, it just isn\u2019t supported. To access the consol, at the Administration Window press <strong><em>ALT + F2<\/em><\/strong>. You will get a black screen, type the word <strong><em>unsupported<\/em><\/strong> and press enter. You will not be able to see yourself type. After you hit enter, you will be prompted for the root password. Enter your root password and bammo! You will now have a prompt!<\/p>\n<p>Well that is cool and all, but we as IT guys want remote console access right? How do you go that in Linux? SSH right? I know what you are thinking, SSH is disabled in ESXi too. Well, now that we have console access, we have a lot of possibilities. One of those is to enable SSH. To do that just follow these steps.<\/p>\n<ol>\n<li><span style=\"color:#0000ff;\">Change directory into \/etc\n<p><strong><em>#cd \/etc<\/em><\/strong> <\/span><\/li>\n<li><span style=\"color:#0000ff;\">Open inetd.conf in vi (I know vi sucks, deal with it!)\n<p><strong><em>#vi inetd.conf<\/em><\/strong> <\/span><\/li>\n<li><span style=\"color:#0000ff;\">arrow down until you see <strong><em>#ssh     stream  tcp\u2026<\/em><\/strong> <\/span><\/li>\n<li><span style=\"color:#0000ff;\">With the curser on the <strong>#<\/strong> type<strong> x<\/strong> to delete the <strong># <\/strong><\/span><\/li>\n<li><span style=\"color:#0000ff;\">Type <strong>:wq!<\/strong> to exit vi and save your changes<\/span><\/li>\n<li><span style=\"color:#0000ff;\">Now we need to find the process running <strong><em>inetd<\/em><\/strong>. To do that run the following command\n<p><strong><em>#ps -a | grep inetd<\/em><\/strong> <\/span><\/li>\n<li><span style=\"color:#0000ff;\">Find the process number, lets pretend it is 1234. Run the following command to kill the<strong><em> inetd<\/em><\/strong> process\n<p><strong><em>#kill 1234<\/em><\/strong> <\/span><\/li>\n<li><span style=\"color:#0000ff;\">Now we need to start inetd again\n<p><strong><em>#inetd<\/em><\/strong> <\/span><\/li>\n<li><span style=\"color:#0000ff;\">Bam! SSH into your ESXi box!<\/span> <\/li>\n<\/ol>\n<p>Love ESXi? Why not buy an <a href=\"http:\/\/www.customdropshipper.com\/bauerpower\/ReviewProduct.aspx?SectionCode=0101&amp;StoreProductId=18792218\" >ESXi shirt<\/a> from the <a href=\"http:\/\/gear.bauer-power.net\/\" >Bauer-Power Gear<\/a> store?<\/p>\n<p><a href=\"http:\/\/www.customdropshipper.com\/bauerpower\/ReviewProduct.aspx?SectionCode=0101&amp;StoreProductId=18792218\" ><img loading=\"lazy\" decoding=\"async\" style=\"border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;\" title=\"VMWare too esxi\" alt=\"VMWare too esxi\" src=\"http:\/\/lh5.ggpht.com\/_jLaEIqL6T8Y\/S9IeHP3qLsI\/AAAAAAAACYM\/ysrhNHkErR8\/esxi%5B9%5D.png?imgmax=800\" width=\"435\" border=\"0\" height=\"383\" \/><\/a> Know of any other cool hacks to get additional functionality out of ESXi? Hit us up in the comments!<\/p>\n<div style=\"padding: 0px; margin: 0px; display: inline; float: none;\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1406e80c-54d0-43ff-ad9f-88f4325ec017\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/vmware\" rel=\"tag\">vmware<\/a>,<a href=\"http:\/\/technorati.com\/tags\/esxi\" rel=\"tag\">esxi<\/a>,<a href=\"http:\/\/technorati.com\/tags\/ssh\" rel=\"tag\">ssh<\/a>,<a href=\"http:\/\/technorati.com\/tags\/how+to\" rel=\"tag\">how to<\/a><\/div>\n<div class=\"blogger-post-footer\"><Br \/><center><a href=\"http:\/\/www.anrdoezrs.net\/click-3773910-10438541?cm_mmc=CJ-_-2769020-_-3773910-_-Home_468x60-Anim_8-24-2006\" ><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.ftjcfx.com\/image-3773910-10438541\" width=\"468\" height=\"60\" alt=\"Great Deals @ Geeks.com!\" border=\"0\"\/><\/a><\/center><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/1652419620964346731-5589619148775667929?l=www.bauer-power.net' alt='' \/><\/div>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:dnMXMwOfBR0\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=dnMXMwOfBR0\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:V_sGLiPBpWU\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:V_sGLiPBpWU\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:gIN9vFwOqvQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:gIN9vFwOqvQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:YwkR-u9nhCs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=YwkR-u9nhCs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:F7zBnMyn0Lo\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:F7zBnMyn0Lo\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:wF9xT3WuBAs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:wF9xT3WuBAs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:jTJX5pvEcCQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:jTJX5pvEcCQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:TzevzKxY174\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=TzevzKxY174\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:nHK9nIK91uw\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:nHK9nIK91uw\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=xmkdOf3Lth8:IXfSLLmekCI:tdI4wLSbWXI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=xmkdOf3Lth8:IXfSLLmekCI:tdI4wLSbWXI\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Bauer-power\/~4\/xmkdOf3Lth8\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMWare ESXi is running on a proprietary version of Linux. This is a fact. Another fact is that in order to do Linux type stuff in VMWare you need access to the console. Now, I know what you are thinking, there is no console in VMWare ESXi. Well my firend, that is simply not true. [&hellip;]<\/p>\n","protected":false},"author":1521,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-542403","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/542403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/1521"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=542403"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/542403\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=542403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=542403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=542403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}