在Ubuntu中容許root遠程訪問

在Ubuntu中容許root遠程訪問 若是使用如xshell等遠程工具首次經過root鏈接Ubuntu會提示拒絕訪問,並非密碼不正確,而是Ubuntu默認禁止以root遠程鏈接。 咱們能夠進行適當的配置來使root遠程鏈接可用。 1.首先在本機使用root修改/etc/ssh/sshd_config文件。web vim /etc/ssh/sshd_config 將PermitRootLogin的值
相關文章
相關標籤/搜索