Ubuntu与centos的区别小用法

给root设置密码

更新软件下载的地址

安装指令apt

使用ssh登录Ubuntu

使用ssh登录Ubuntu必须注意的地方,要先配置

sudo vi /etc/ssh/sshd_config

找到:PermitRootLogin prohibit-password禁用

添加:PermitRootLogin yes

sudo service ssh restart



猜你喜欢

转载自www.cnblogs.com/yandw/p/11400353.html