创建虚拟机步骤

1、 创建虚拟机
















































2、 登录系统

3. 先启用root用户

4、  openssh server进行配置


5. vi /etc/ssh/sshd_config


找到PermitRootLogin without-password一行,改为PermitRootLogin yes

6. 重启 openssh server

$ sudo service ssh restart

7. xshell连接虚拟机





Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐