Don't use external node ssh key if one is not configured
This commit is contained in:
@ -163,7 +163,7 @@ startCommon() {
|
||||
mkdir -p ~/.cargo/bin
|
||||
"
|
||||
fi
|
||||
ssh-copy-id -f -i "$externalNodeSshKey" "${sshOptions[@]}" "solana@$ipAddress"
|
||||
[[ -z "$externalNodeSshKey" ]] || ssh-copy-id -f -i "$externalNodeSshKey" "${sshOptions[@]}" "solana@$ipAddress"
|
||||
rsync -vPrc -e "ssh ${sshOptions[*]}" \
|
||||
"$SOLANA_ROOT"/{fetch-perf-libs.sh,scripts,net,multinode-demo} \
|
||||
"$ipAddress":~/solana/
|
||||
|
Reference in New Issue
Block a user