Unable to access SSH on some ESXi hosts using local user with Administrator role
search cancel

Unable to access SSH on some ESXi hosts using local user with Administrator role

book

Article ID: 426814

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

SSH to some of the host fails with "Login disabled. Connection to <hostname> Closed" though SSH services is enabled and running

Environment

vSphere ESXi 7.x

vSphere ESXi 8.x

vSphere ESXi 9.x

Cause

SSH access permission need to be given explicitly even if the local user is assigned with Administrator role. 

Resolution

Login to ESXi Host UI > Manage > Security & Users > Users > Edit User to enable Shell Access