相关文件:
/etc/ssh/sshd_config
修改选项:
PasswordAuthentication yes
PermitRootLogin yes
保存并重启ssh服务:
service ssh restart
让ssh服务开机自启:
执行命令:
update-rc.d ssh enable
这个命令其实相当于修改/etc/rc3.d/
下的K01ssh
为S01ssh
相关文件:
/etc/ssh/sshd_config
修改选项:
PasswordAuthentication yes
PermitRootLogin yes
保存并重启ssh服务:
service ssh restart
让ssh服务开机自启:
执行命令:
update-rc.d ssh enable
这个命令其实相当于修改/etc/rc3.d/
下的K01ssh
为S01ssh