文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>ESXi 4.0 login via SSH

ESXi 4.0 login via SSH

时间:2010-05-21  来源:hiyangyong

ESXi 4.0 login via SSH and normal user

 

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”

 

If you want to login with normal user, you also can try this:

Log in to the console,

edit the inetd.conf:

vi /etc/inetd.conf

 

search for the following line (type: “/ssh”) (This is the line you uncommented to enable SSH in the first place.)

ssh stream tcp nowait root /sbin/dropbearmulti dropbear ++min=0,swap,group=shell -i

add -w to the end of this line: (type: “i” for insert mode):

ssh stream tcp nowait root /sbin/dropbearmulti dropbear ++min=0,swap,group=shell -i –w

Exit and save the file (press escape, type “: x”)

 

Create a /home directory

mkdir /home

Create a new unprivileged user:

useradd your_name

Change the password for this user:

passwd your_name

 

Reboot the server

reboot

Once rebooted,

 

Log in with SSH using your new unprivileged user

su -

to change to the root user.
相关阅读 更多 +
排行榜 更多 +
植物大战僵尸融合高数带我飞二创版下载

植物大战僵尸融合高数带我飞二创版下载

策略塔防 下载
重返德军总部手机版下载

重返德军总部手机版下载

飞行射击 下载
泰坦破坏者手游下载

泰坦破坏者手游下载

休闲益智 下载