常州五颜六色网络技术有限公司 -> 技术文档 -> debian10 登录 -> 注册 -> 回复主题 -> 发表主题

deserts 2020-03-26 17:07
配置ssh 允许 root直接远程登录
修改配置文件目录
nano /etc/ssh/sshd_config
修改如下
PermitRootLogin yes
重启服务
/etc/init.d/ssh restart


把其他的全部注释掉(#),用163的镜像,速度嗖嗖的。
CODE:
deb [url]http://mirrors.163.com/debian/[/url] stretch main non-free contrib
deb [url]http://mirrors.163.com/debian/[/url] stretch-updates main non-free contrib
deb [url]http://mirrors.163.com/debian/[/url] stretch-backports main non-free contrib

deb-src [url]http://mirrors.163.com/debian/[/url] stretch main non-free contrib
deb-src [url]http://mirrors.163.com/debian/[/url] stretch-updates main non-free contrib
deb-src [url]http://mirrors.163.com/debian/[/url] stretch-backports main non-free contrib

deb [url]http://mirrors.163.com/debian-security/[/url] stretch/updates main non-free contrib
deb-src [url]http://mirrors.163.com/debian-security/[/url] stretch/updates main non-free contrib


查看完整版本: [-- debian10 --] [-- top --]



Copyright © 2005-2014 5y6s Inc. 苏ICP备05001866号 Powered by PHPWind 5.0.1
Time 0.020768 second(s),query:5 Gzip enabled