Skip to content

Commit

Permalink
Auto-generate required ssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
suizman committed Nov 29, 2018
1 parent 78093af commit cc20259
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/gossip/run_gossip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@

master="127.0.0.1:9100"
qed="http://127.0.0.1:8080"
go run $GOPATH/src/github.com/bbva/qed/main.go start -k key -l silent --node-id server0 --gossip-addr $master --raft-addr 127.0.0.1:9000 -y $HOME/.ssh/id_ed25519 &
echo Create id_ed25519 key
echo -e 'y\n' | ssh-keygen -t rsa -N '' -f /var/tmp/id_ed25519
go run $GOPATH/src/github.com/bbva/qed/main.go start -k key -l silent --node-id server0 --gossip-addr $master --raft-addr 127.0.0.1:9000 -y $/var/tmp/id_ed25519 &
pids[0]=$!
sleep 1s

Expand Down

0 comments on commit cc20259

Please sign in to comment.