Unable to Verify SSH Details
Applies To | Sources and Destinations connecting through SSH with Hevo’s RSA-generated public key. |
Error Message Text(s) | Unable to verify SSH details. |
Error Summary
- Hevo is not able to verify the credentials for connecting to the SSH server.
Potential Causes
- The SSH server is hosted on a system with a newer operating system (OS) version, such as Ubuntu 22 or Amazon Linux 2023 (AL2023). On these systems, support for RSA-generated keys may not be enabled by default. The authorization log file /var/log/auth.log on your SSH server may display the following error when you try to connect: _userauth_pubkey: key type ssh-rsa not in PubkeyAcceptedAlgorithms.
Suggested Action(s)
-
Use the Hevo ECDSA public key. For this, add the ECSDA key to the authorized_keys file on your SSH server host.
-
Enable support for RSA-generated public keys on your SSH server host. To do this:
-
On Debian Architecture-based Systems such as Ubuntu 22.04 LTS:
-
Log in to your SSH server host.
-
Access the SSH configuration file, sshd_config. This file is generally found in the /etc/ssh directory. Add the following lines to it:
HostKeyAlgorithms +ssh-rsa PubkeyAcceptedKeyTypes +ssh-rsa
-
Restart your SSH server using the following command:
sudo systemctl restart sshd
-
-
On Red Hat Enterprise Linux-based systems such as Amazon Linux 2023 and CentOS 9:
-
Log in to the AWS EC2 console and connect to your SSH server instance.
-
In the terminal window, run the following commands:
sudo dnf install crypto-policies-scripts sudo update-crypto-policies --set LEGACY
-
From the EC2 console, reboot your SSH server instance.
-
-
Last updated on Aug 16, 2023