Skip to content
Erning.write()
Go back

HOW-TO: ESXi and SSH

每次 ESXi 要在服务器上开启 SSH 服务,总是忘记具体操作方法,都要去 google 才行,这里记录一下。

  1. Go to the ESXi console and press alt+F1
  2. Type: unsupported
  3. Enter the root password(No prompt, typing is blindly)
  4. At the prompt type “vi /etc/inetd.conf”
  5. Look for the line that starts with “#ssh” (you can search with pressing ”/”)
  6. Remove the ”#” (press the “x” if the cursor is on the character)
  7. Save “/etc/inetd.conf” by typing “:wq!”
  8. Restart the management service “/sbin/services.sh restart”

用下面的方法可以避免重新启动机器

  1. Restart the management service “/sbin/services.sh restart” 10 – Kill inetd : kill ps | grep inetd | cut -f2 -d" " 11 – Start inetd: inetd

参考:VMWare KB: Tech Support Mode for Emergency Support


Share this post on:

Previous Post
USB 硬盘的固定设备名和自动休眠
Next Post
安居客招聘架构师