1.安装vim 首先由普通用户登录Debian服务器,su root切换到root用户,输入下面命令安装即可: apt-get install vim 2.利用vim打开并修改/etc/ssh/sshd_config文件 将PermitRootLogin 设置为yes,PasswordAut