VMware Cloud Community
HassanAlKak88
Expert
Expert

Create a specific user and allow SSH to it

Hello,

How to allow access for a specific user to be the Only user that have SSH to ESXi 6.5 ?


If my reply was helpful, I kindly ask you to like it and mark it as a solution

Regards,
Hassan Alkak
Reply
0 Kudos
2 Replies
sk84
Expert
Expert

Maybe the Normal Lockdown Mode will help you here: Lockdown Mode Behavior

You could specify the user(s) as exception users and if they have admin privileges on the ESXi host they can login via SSH. Or you specify them in the advanced option "DCUI.Access".

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
daphnissov
Immortal
Immortal

Probably the exact same way you do it on *NIX environments: edit /etc/ssh/sshd_config with the AllowUsers parameter.

Reply
0 Kudos