Hi.
The key was generates with "ssh-keygen -t rsa-sha2-512" and the EM version is Professional 5.7.2.4
Can you tell me what I miss ?
Here is a good manual on how to configure the SSH key-based authentication How To Configure SSH Key-Based Authentication on a Linux Server | DigitalOcean
Key points:
-
Generate ssh keypair
-
Enable
PubkeyAuthentication
in/etc/ssh/sshd_config
PubkeyAuthentication yes
- Restart sshd
systemctl restart sshd
- Add pub key to
~/.ssh/authorized_keys
Currently EasyMorph supports the RSA PRIVATE KEY
private key format for RSA keys.
If your private key file content doesn't start with the -----BEGIN RSA PRIVATE KEY-----
, you need to convert the file to a compatible one.
For conversion OPENSSH PRIVATE KEY
to RSA PRIVATE KEY
, you may use the command
ssh-keygen -p -m PEM -f private_key_file_name
Where private_key_file_name is the name of the private key file.
Alternatively, you can convert your key file using the puttygen
utility. Simply navigate to Conversion
and select OpenSSH key
.
Make sure to backup your key before file format conversion.