Skip to content

Commit

Permalink
[hotfix][tests] Add option -m PEM to ssh-keygen
Browse files Browse the repository at this point in the history
Make ssh-keygen output private key in PEM format so that Jsch does not
complain about wrong private key format.
  • Loading branch information
GJL committed May 17, 2020
1 parent fa5206a commit cd491ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flink-jepsen/docker/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dockerdir=$(dirname $0)
dockerdir=$(cd ${dockerdir}; pwd)

if [ ! -f ./id_rsa ]; then
ssh-keygen -t rsa -N "" -f ./id_rsa
ssh-keygen -m PEM -t rsa -N "" -f ./id_rsa
fi

export JEPSEN_ROOT=${dockerdir}/../
Expand Down

0 comments on commit cd491ea

Please sign in to comment.