vi /etc/ssh/sshd_conf
禁止口令验证
PasswordAuthentication no
禁止root登录
PermitRootLogin no
ESXi Shell
F2--F2--Troubleshooting Options--Enable ESXi Shell 回车
服务管理
# chkconfig --list
vsantraced on
ntpd off
lsassd off
lwiod off
netlogond off
ESXShell on
SSH on
DCUI on
vmamqpd off
clomd off
swapobjd off
osfsd off
vsanvpd off
usbarbitrator on
cmmdsd off
sensord on
rhttpproxy on
sdrsInjector on
vprobed off
lbtd on
vmfstraced on
hostd on
storageRM on
slpd on
nscd on
cdp on
dcbd on
smartd on
memscrubd on
lacp on
vobd on
vpxa on
sfcbd-watchdog on
snmpd on
wsman on
sfcbd on
xorg on
重启 SSH
/etc/init.d/SSH restart