zoukankan      html  css  js  c++  java
  • zabbix添加任务计划和sshd文件修改key

    UserParameter=sshd,sudo awk '/PasswordAuthentication/{if ( $2 == "no" ) {print "OK"} else {print "NOT OK"}}' /etc/ssh/sshd_config
    UserParameter=sshdroot,sudo awk '/PermitRootLogin/{if ( $2 == "no" ) {print "OK"} else {print "NOT OK"}}' /etc/ssh/sshd_config
  • 相关阅读:
    转载
    转载
    HDU
    HDU
    Hdu
    转载
    HDU
    UVa
    HDU
    POJ
  • 原文地址:https://www.cnblogs.com/jonnter/p/7725214.html
Copyright © 2011-2022 走看看