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
相关文章
相关标签/搜索