#!/bin/bash
#ssh免密登录shell脚本
#配置免密登录的所有机子都要运行该脚本
 
#修改/etc/ssh/sshd_config配置文件
#sed -i 's/被替换的内容/替换成的内容/'  /配置文件地址
#sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config
#cat >> /etc/ssh/sshd_config <