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-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
  • 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
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

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

Shares
Vote !

| 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 x16, Veeam Vanguard x9, 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.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Backup solution that supports 15+ Hypervisors – Vinchin Backup and Recovery
  • Why NordVPN is Your Must-Have for Business Security and Personal Freedom
  • Agentless Backup Solutions for XCP-ng Hypervisor: External Vendor Options
  • Vinchin Earns Acclaimed Recognition in Gartner Peer Insights 2025 Report
  • VMware vSphere 9 Standard and Enterprise Plus – Not Anymore?
  • Free Virtual Backup Appliance from StarWind – With Community Support (example configuration for ESXi and Veeam Backup)
  • VMware vSphere Foundation (VVF 9) and VMware Cloud Foundation (VCF 9) Has been Released
  • Veeam Backup & Replication 12.3.2 – patch critical vulnerabilities for your dataprotection environments
  • Veeam confirming vSphere 9.0 and ESXi 9 upcoming support
  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in