sed 's/要被替换的字符串/新的字符串/g'
sed -i 's/#MaxAuthTries 6/#MaxAuthTries 4/g' /etc/ssh/sshd_config
sed -i 's/"ok"/要替换的数据库密码/g' /home/wdk/proxool.xml
sed 's/要被替换的字符串/新的字符串/g'
sed -i 's/#MaxAuthTries 6/#MaxAuthTries 4/g' /etc/ssh/sshd_config
sed -i 's/"ok"/要替换的数据库密码/g' /home/wdk/proxool.xml