ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-VVF Administrator
          • vcp-vvf-2.
        • Close
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • VVF 9 and VCF 9
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • XCP-NG
    • XCP-NG
    • Close
  • Proxmox
    • Proxmox
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Windows Server 2025
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • Privacy policy
    • PDFs and Books
    • Close
  • Free

Can’t access via SSH After upgrade to ESX 4.1

By Vladan SEGET | Last Updated: August 22, 2022

Shares

You might experience this issue after upgrading to ESX 4.1.

But, fortunately there is plenty of information on the web, where you can find the answers how to easily re-enable SSH. One of those places are VMware KB. The KB explaining what to do when you're in situation like this.

After the upgrade, only the root can login on the console (but can't SSH). If you have another user account created on the ESX host Add this user to the administrator group. In fact you must add this user to the root group (administrator's group – if using windows authentication) to be able to SSH to your ESX 4.1, because the SSH for the root user is disabled.

You can easily enable SSH for root user as I blogged about this already in the past, but that's not the good practice. You should add this “secondary” user to root group, then use this account to log in switch to root by using this command: su –

Now if you don't have access to the console of your server (or it's too far from your chair…) and so you can't create your second ESX user via the CLI (because you can't log in), just fire on the VMware vSphere client and log in directly to your ESX 4.1 (not to vCenter).

Add second user to the ESX 4.1 via Gui:

01. Connect to the ESX 4.1 server via VMware vSphere client and go to the local users and groups tab

02. Add a user select Grant shell access to this user and click OK.

In fact, in the vSphere Upgrade guide you can see a note on page 69 where it's mentioned….

SSH access after upgrade to ESX 4.1 not possible

You can get the PDF from the link below:

https://www.vmware.com/pdf/vsphere4/r41/vsp_41_upgrade_guide.pdf

Hopefully it helps.

Source: Vmware KB8375637

You can also have a look at:  Tech Support Mode for Emergency Support and this video: Using Tech Support Mode in ESXi 4.1

Vote !
Shares

| Filed Under: Server Virtualization Tagged With: Service Console SSH access, SSH root ESX 4.1, upgrade to ESX 4.1 SSH

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x17, Veeam Vanguard x11, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. craig says

    April 14, 2011 at 7:34 pm

    I will not recommend to allow root to access via SSH, as this is not best practice for all linux server as well.

    • Vladan SEGET says

      April 14, 2011 at 10:05 pm

      Craig,

      thx for the comment. That’s exactly what I’m saying. It’s not recommended. .. -:)

  2. Akos Batorfi says

    April 15, 2011 at 4:07 pm

    I’ve tried adding a user and granting it shell access, but unfortunately with 4.1 this doesn’t work anymore (it did with 4.0). The only thing that worked for me was doing a “usermod -a -G 0 username”. More info here: http://planetvm.net/blog/?p=1705

Private Sponsors

 

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
Click to Become a Sponsor

Most Recent

  • StarWind V2V / P2V Converter Version 9 (build 848) – Multi-VM Conversions, Full CLI Support, Hot Migrations, and Cloud Improvements Make This Free Tool a Datacenter Must-Have
  • Nakivo 11.2 With Proxmox 9.1 and VMware vSphere 9 Support Released
  • Ready for Voyage? Try Voyager Linux Distro – A Slick, Hybrid Distro That Just Works
  • VMware Releases ESXi 8.0 Update 3i – Build 25205845: Bug Fixes, Security Patches, and How to Upgrade Your Hosts
  • WinBoat – Running Windows Apps on Linux with Seamless Integration? Yes, Please!
  • VMware Workstation Pro 25H2U1 Released: Why You Should Update Now
  • StarWind VSAN for Hyper-V: Synchronous Replication for High-Availability Shared Storage
  • Veeam Backup & Replication Cybersecurity Improvements – Recon Scanner 3.0 and Malware Scanning in Backups
  • Diving Deep into Nakivo Backup & Replication: Lesser-Known Features, Multiplatform Flexibility, and Licensing Options for Cost-Effective Data Protection
  • Thinware SimpleVM – A Free-Forever Hypervisor Alternative for VMware Admins Tired of Broadcom’s Rising Costs

Veeam Vanguard x12

Get new posts by email:

 

 

 

 

Deals

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Friendly Websites and Blogs

  • vBlog.io
  • VMware Engineer Jobs
 

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2026 ·Dynamik-Gen · Genesis Framework · Hosted with HostColor.com