MySQL Workbench (version 6.0.8) SSH Authentication Issue

前端 未结 8 1796
一生所求
一生所求 2021-02-18 20:44

I am trying to connection to a MySQL server on Host X through machine Y over SSH.

The same setup (but older version of MySQL workbench) works on my another box (CentOS 6

8条回答
  •  我在风中等你
    2021-02-18 21:22

    For Linux users using ssh-keygen:

    As per the other answers you need to use openssh format.

    ssh-keygen -o -b 4096
    

    That gives me a new keypair RSA type 4096 bits in openssh format. It's the -o that's key here (no pun intended).

    Obviously this generates a new key so is only useful if you can upload the new public key to the server. Don't forget to back up your old keys first incase you use them elsewhere.

    AFAIK ssh-keygen doesn't have the ability to convert an existing key.

    Why Oracle have dropped support for the ubiquitous PEM format is beyond me.

提交回复
热议问题