expect一鍵批量拷貝

#!/bin/shssh local_file=$1spa remote_dir=$2ip if [ $# -ne 2 ];thenrem echo "usage:$0 argv2"it echo "must two argvs"io exitfunction fifile [ -f ~/.ssh/known_hosts ] && > ~/.ssh/known_hostsim for ip in
相關文章
相關標籤/搜索