免密登陸shell腳本

#!/bin/bash #ssh免密登陸shell腳本 #配置免密登陸的全部機子都要運行該腳本 #修改/etc/ssh/sshd_config配置文件 #sed -i 's/被替換的內容/替換成的內容/' /配置文件地址 #sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config #
相關文章
相關標籤/搜索