#!/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

最新文章

  1. 科学计算软件——Octave安装
  2. ruby 访问新浪微博API post方式和get方式
  3. thinkphp2
  4. 正则匹配中 ^ $ 和 \b 的区别
  5. APNS远程推送(转发)
  6. Stanford机器学习笔记-10. 降维(Dimensionality Reduction)
  7. 标准BT.656并行数据结构
  8. 两两组合覆盖测试用例设计工具:PICT
  9. Xamarin Android项目运行失败
  10. ACM 入门计划
  11. C/C++基础知识总结——继承与派生
  12. 反射(C#编程)
  13. drbd(四):drbd多节点(drbd9)
  14. Java Main参数解析(Args4j)
  15. 全文检索-Elasticsearch (二) CURD
  16. Vue----常见面试题
  17. 更多的bash命令
  18. poj 3694 无向图求桥+lca
  19. System类学习笔记
  20. 阿里云香港B区通过IPV6规避Google验证码

热门文章

  1. B3942 Censoring
  2. IE问题——列表项图像
  3. malloc动态分配字符串数组“ 一个月内的提醒”
  4. java 基础词汇 必须 第九天
  5. vue2.0之监听属性的使用心得及搭配计算属性的使用
  6. LeetCode804. Unique Morse Code Words
  7. 实例:关于ALV控件可编辑的整理
  8. 高封装的property方法
  9. 8-1 python 接口开发(提供数据、返回session_id)
  10. #Python编程从入门到实践#第二章笔记