ssh-debian87.sh
2024-09-03 12:54:42
#!/bin/bash
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/g' /etc/ssh/sshd_config
sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/g' /etc/ssh/sshd_config
sed -i 's/#GSSAPIAuthentication no/GSSAPIAuthentication no/g' /etc/ssh/sshd_config
echo "UseDNS no" >> /etc/ssh/sshd_config
service ssh restart
ssh-debian87.sh
最新文章
- 科学计算软件——Octave安装
- ruby 访问新浪微博API post方式和get方式
- thinkphp2
- 正则匹配中 ^ $ 和 \b 的区别
- APNS远程推送(转发)
- Stanford机器学习笔记-10. 降维(Dimensionality Reduction)
- 标准BT.656并行数据结构
- 两两组合覆盖测试用例设计工具:PICT
- Xamarin Android项目运行失败
- ACM 入门计划
- C/C++基础知识总结——继承与派生
- 反射(C#编程)
- drbd(四):drbd多节点(drbd9)
- Java Main参数解析(Args4j)
- 全文检索-Elasticsearch (二) CURD
- Vue----常见面试题
- 更多的bash命令
- poj 3694 无向图求桥+lca
- System类学习笔记
- 阿里云香港B区通过IPV6规避Google验证码