Ubuntu does not allow root to log in to xftp


Ubuntu does not allow root to log in to xftp

Modify the / etc / SSH / sshd_config file, but only if openssh is installed. If the file does not exist, check whether openssh is installed.

If not, install with the following command:
sudo apt-get install openssh-server 
Then check whether SSH is started by the following command:
ps -e | grep ssh 
If only SSH agent indicates that it has not been started, you need to
/etc/init.d/ssh start。

vim /etc/ssh/sshd_config 

    LoginGraceTime 120
    PermitRootLogin prohibit-password

    trictModes yes

Change to the following:


    LoginGraceTime 120
    PermitRootLogin yes
    StrictModes yes

Then exit the VIM edit and enter the command / etc / init.d/ssh restart
Just restart the SSH service.

Recommended Today

What are the new methods of visual + map technology?

Last week, Ren Xiaofeng, chief scientist of Alibaba Gaode map, made a technical exchange with you on the development of computer vision related technology and the application in the field of map travel at the online live broadcast activity of “cloud dialogue” between senior students of Alibaba. The interaction between live broadcast is hot. Especially […]