1. 使用vim修改root账户登录权限,使debian可以使用外部ssh客户端登录
    命令:
    vi /etc/ssh/sshd_config将#PermitRootLogin prohibit-password改为
    PermitRootLogin yes
  2. 重启ssh服务
    命令:
    /etc/init.d/ssh restart
分类: LINUX

Avatar photo

sontjer

For the amatuer tech nerds & life maniacs.

0 条评论

发表回复

Avatar placeholder

您的电子邮箱地址不会被公开。 必填项已用*标注