{"id":472,"date":"2008-09-12T18:56:05","date_gmt":"2008-09-12T17:56:05","guid":{"rendered":"https:\/\/www.networknet.nl\/apps\/wp\/archives\/472"},"modified":"2008-10-06T20:53:41","modified_gmt":"2008-10-06T18:53:41","slug":"vmware-esx-35-ssh-remote-management","status":"publish","type":"post","link":"https:\/\/www.networknet.nl\/apps\/wp\/archives\/472","title":{"rendered":"VMware ESX: SSH remote management"},"content":{"rendered":"<p>After installing VMWare ESX 3.5 hypervisor host server I would like to manage this system with SSH remotely. Server is manufactured by Dell and the DRAC mgmt card interface is available but I prefer to use SSH. SSH is enabled by default but disallows access for root.<\/p>\n<p>See my work log and screenshots how to enable this feature:<\/p>\n<ul>\n<li>Login with root from the console<\/li>\n<li>Change directory with &#8220;cd \/etc\/ssh&#8221;<\/li>\n<li>Open sshd_config with &#8220;vi sshd_config&#8221;<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_thumb.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"47\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li>Locate Authentication section and change &#8220;PermitRootLogin no&#8221; to &#8220;PermitRootLogin yes&#8221;; for going into edit mode type i; press ESC to exit<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_thumb_3.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"56\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li>Type &#8220;:wq!&#8221; to save and exit the file<\/li>\n<li>Restart the SSH deamon with &#8220;service sshd restart&#8221;<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_thumb_4.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"30\" \/><\/a><\/p><\/blockquote>\n<ul>\n<li>Start putty.exe or any of you favorite SSH remote management tools to connect to your ESX 3.5 server.<\/li>\n<\/ul>\n<blockquote><p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_thumb_5.png\" border=\"0\" alt=\"image\" width=\"244\" height=\"93\" \/><\/a><\/p><\/blockquote>\n<p>This procedure also applies to version 3.x. With this procedure I achieved to manage my ESX server remotely so I don&#8217;t need to use my remote management access card. SSH daemon also support secure file copy protocol which can be used to connect with WinSCP and download or upload any file\/virtual machine to your VMFS file system.<\/p>\n<p><a href=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_6.png\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" src=\"https:\/\/www.networknet.nl\/apps\/wp\/wp-content\/uploads\/VMwareESX3.5SSHremotemanagement_B71B\/image_thumb_6.png\" border=\"0\" alt=\"image\" width=\"435\" height=\"270\" \/><\/a><\/p>\n<p>Please be aware of any security implications! I enabled this kind of access because the management interface is sitting in a different VLAN than the vSwitch networks within virtual machine which are trunked amongst different networks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing VMWare ESX 3.5 hypervisor host server I would like to manage this system with SSH remotely. Server is manufactured by Dell and the DRAC mgmt card interface is available but I prefer to use SSH. SSH is enabled by default but disallows access for root. See my work log and screenshots how to enable this feature: Login with root from the console Change directory with &#8220;cd \/etc\/ssh&#8221; Open sshd_config with &#8220;vi sshd_config&#8221; Locate Authentication section and change &#8220;PermitRootLogin no&#8221; to &#8220;PermitRootLogin yes&#8221;; for going into edit mode type i; press ESC to exit Type &#8220;:wq!&#8221; to save and exit the file Restart the SSH deamon with &#8220;service sshd restart&#8221; Start putty.exe or any of you favorite SSH remote management tools to connect to your ESX 3.5 server. This procedure also applies to version 3.x. With this procedure I achieved to manage my ESX server remotely so I don&#8217;t need to use my remote management access card. SSH daemon also support secure file copy protocol which can be used to connect with WinSCP and download or upload any file\/virtual machine to your VMFS file system. Please be aware of any security implications! I enabled this kind of access because the management interface is sitting in a different VLAN than the vSwitch networks within virtual machine which are trunked amongst different networks.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[400],"tags":[451,37,254,452,450,449],"class_list":["post-472","post","type-post","status-publish","format-standard","hentry","category-esx-vmware","tag-copy","tag-esx","tag-file","tag-managment","tag-service-console","tag-ssh"],"_links":{"self":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/472","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/comments?post=472"}],"version-history":[{"count":0,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/posts\/472\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/media?parent=472"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/categories?post=472"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.networknet.nl\/apps\/wp\/wp-json\/wp\/v2\/tags?post=472"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}