ubuntu-Root登录

设置root密码

sudo passwd root

打开 sshd_config 配置文件

sudo vi /etc/ssh/sshd_config

修改配置

#Authentication,将 PermitRootLogin 参数修改为 yes
#Authentication,将 PasswordAuthentication 参数修改为 yes 
若 sshd_config 配置文件中无此配置项,则添加 PasswordAuthentication yes

重启ssh

sudo service ssh restart

查看内存

free -m
sudo dmidecode -t memory

results matching ""

    No results matching ""