VMware Cloud Community
akshunj
Enthusiast
Enthusiast

disable root ssh access, but enable on a non root account

Hi,

I would like to disable root ssh access, but allow another account to access the host via ssh. I'm having trouble accomplishing this. If I modify the sshd_config and set "PermitRootLogin = no" I am no longer able to ssh into the host using any account. How can I disable root access but allow another account to access?

Reply
0 Kudos
2 Replies
nava_thulasi39

Hi,

Have you gone through this link http://www.marcosorfila.com/site/ssh-with-non-root-users-in-vmware-esxi/

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Reply
0 Kudos
akshunj
Enthusiast
Enthusiast

Yes, thanks. Previous methods for accomplishing this don't work in ESXi 5. Smiley Sad

Reply
0 Kudos