About the unknown key type
error
When you generate a new SSH key, you may receive an unknown key type
error if your SSH client does not support the key type that you specify.
To solve this issue on Linux, use the package manager for your Linux distribution to install a new version of OpenSSH, or compile a new version from source. If you install a different version of OpenSSH, the ability of other applications to authenticate via SSH may be affected. For more information, review the documentation for your distribution.