摘要:
#!/bin/bash #mo #20170911 #Update all oa code code=/root/code/$2/syberosoa path=/home/seim time=`date +%Y%m%d-%H%M` #Determine the results result() { if [ $? != 0 ];then echo -e "\033[3... 阅读全文
摘要:
#!/bin/sh if [ "$1"x = ""x ]; then echo "usage:/opt/bin/auto-ssh.sh user server" else user=$1 server=$2 pubkey=`cat ~/.ssh/id_rsa.pub` if [ "$pubkey"x = ""x ]; then ssh-ke... 阅读全文