允许root登入ESX Server

          默认ESX不允许root用户直接SSH,需要修改sshd-config文件才可以.

 
1)使用VI连接到VC,并在VC上注册ESX Server
 
2)在users&Groups 添加新用户,选择 Grant shell access to this user 使其用户可以登入Sell
 
3)使用SSHSecureShellClient或Putty登入ESX,使用新用户
 
4)运行su -更改为root
 
5 )#vi/etc/ssh/sshd-config 编辑sshd-config
 
    PermitRootLogin no 改为PermitRootLogin yes
  
    :qw  退出保存
 
6 )#service sshd restart 重新启动服务
 
现在可以使用root直接SSH到ESX对ESX进行文件上传和更改了

你可能感兴趣的:(职场,root,权限,休闲,esx)