Skip to content

Commit

Permalink
Don't use external node ssh key if one is not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 authored and solana-grimes committed Apr 2, 2019
1 parent f0079cd commit efbb49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/net.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit efbb49d

Please sign in to comment.