You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ga...@apache.org on 2020/05/17 18:17:52 UTC
[flink] 03/04: [hotfix][tests] Add option -m PEM to ssh-keygen
This is an automated email from the ASF dual-hosted git repository.
gary pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit cd491ea303502475d06dfc498e3a27b2c945ee40
Author: Gary Yao <ga...@apache.org>
AuthorDate: Thu May 7 09:46:05 2020 +0200
[hotfix][tests] Add option -m PEM to ssh-keygen
Make ssh-keygen output private key in PEM format so that Jsch does not
complain about wrong private key format.
---
flink-jepsen/docker/up.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-jepsen/docker/up.sh b/flink-jepsen/docker/up.sh
index 5479b3b..d3fbf05 100755
--- a/flink-jepsen/docker/up.sh
+++ b/flink-jepsen/docker/up.sh
@@ -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}/../