{"id":620,"date":"2019-09-19T13:22:24","date_gmt":"2019-09-19T13:22:24","guid":{"rendered":"http:\/\/michaelstoica.com\/?p=620"},"modified":"2019-09-19T13:22:24","modified_gmt":"2019-09-19T13:22:24","slug":"enable-ssh-for-vrops-appliance","status":"publish","type":"post","link":"https:\/\/michaelstoica.com\/site\/enable-ssh-for-vrops-appliance\/","title":{"rendered":"Enable SSH for vRops appliance"},"content":{"rendered":"<p>Finally these days I managed to make sometime to install vRops in my homelab.\u00a0The installation process is quite simple, so I&#8217;m not going to cover it.<\/p>\n<p>After the appliance installation finished I noticed in vSphere UI that the DNS name for the machine was not correct. So, I started looking on how to change the DNS name for the vRops appliance. This can be done easily through SSH, but when I opened the VM console, there was\u00a0no information on how to access the login prompt.<\/p>\n<p><a href=\"https:\/\/michaelstoica.com\/site\/wp-content\/uploads\/2019\/09\/0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-622\" src=\"https:\/\/michaelstoica.com\/site\/wp-content\/uploads\/2019\/09\/0.png\" alt=\"\" width=\"1135\" height=\"844\" srcset=\"https:\/\/michaelstoica.com\/site\/wp-content\/uploads\/2019\/09\/0.png 1135w, https:\/\/michaelstoica.com\/site\/wp-content\/uploads\/2019\/09\/0-300x223.png 300w, https:\/\/michaelstoica.com\/site\/wp-content\/uploads\/2019\/09\/0-768x571.png 768w, https:\/\/michaelstoica.com\/site\/wp-content\/uploads\/2019\/09\/0-1024x761.png 1024w\" sizes=\"auto, (max-width: 1135px) 100vw, 1135px\" \/><\/a><\/p>\n<p>So what you have to do here is to press <strong>Alt+F1\u00a0<\/strong>and after that type user root and enter (by default there is no password, it will ask you to set one).<\/p>\n<p>Now that you are logged in, run\u00a0<strong>chkconfig sshd on<\/strong> and\u00a0<strong>service sshd start.\u00a0<\/strong><\/p>\n<p>Once you are able to SSH into the appliance, in order to change the hostname you need to run the following command:<strong>\u00a0\/opt\/vmware\/share\/vami\/vami_set_hostname new-hostname<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally these days I managed to make sometime to install vRops in my homelab.\u00a0The installation process is quite simple, so I&#8217;m not going to cover&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/michaelstoica.com\/site\/enable-ssh-for-vrops-appliance\/\">Continue reading<span class=\"screen-reader-text\">Enable SSH for vRops appliance<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[52,51,8,13,58,12,42],"class_list":["post-620","post","type-post","status-publish","format-standard","hentry","category-general","tag-vcommunity","tag-vexpert","tag-virtualization","tag-vmware","tag-vrops","tag-vsphere","tag-vsphere-6-7","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p63Lge-a0","_links":{"self":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/comments?post=620"}],"version-history":[{"count":2,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/620\/revisions"}],"predecessor-version":[{"id":623,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/posts\/620\/revisions\/623"}],"wp:attachment":[{"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/media?parent=620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/categories?post=620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelstoica.com\/site\/wp-json\/wp\/v2\/tags?post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}