#!/bin/bash -x
# 生成密钥

if [ -z "$SSH" ];then
    source /unas/sbin/dualcontroller/config/prepare
fi

[ -f "$PRIKEY_FILE" ] || ssh-keygen -t $SSH_CIP -f "$PRIKEY_FILE" -N "" -C "dualcontroller@"`hostname`
