Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
567 views
in Technique[技术] by (71.8m points)

ubuntu - Convert OPENSSH private key to RSA in linux - MySQL Workbench

I own an OPENSSH private key in my local computer (Ubuntu) for SSH connection purposes which works as expected in my remote CentOS 8 server.

Now I need to use it in MySQL Workbench (8.0.18), but as far I see I need an RSA private key for that since I'm getting the error: Access denied for 'none'. Authentication that can continue: publickey;gssapi-keygex;gssapi-with-mic

So here come the questions:

  1. Can I just simply convert WITHOUT REPLACING the OPENSSH key to RSA? How can I do that? I saw this solution but it seems to replace the original key. Openssh Private Key to RSA Private Key
ssh-keygen -p -P "old passphrase" -N "new passphrase" -m pem -f path/to/key
  1. Do I need to add the fingerprint for my RSA key in the remote server despite the OPENSSH key is already added?

I'm aware that I'm not using the latest MySQL Workbench version where maybe it works with OPENSSH key, but unfortunately it crashes when I try to connect through SSH, that's why I've downgraded to 8.0.18


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...