Challenge
After enabling FIPS mode on a Linux repository server, backup jobs fail; log review reveals that Veeam Backup & Replication is unable to make an SSH connection to the repository:[31.08.2019 00:00:00] Warning Failed to create SSH connection to host: '<hostname>', port: 22, user: '<username>', elevation to root: 'yes', autoSudo: no, use su if sudo fails: no, auth type: 'Password', host name: <hostname>, IPs: [<ipaddress>].. Server does not support diffie-hellman-group1-sha1 for keyexchange
Cause
Veeam Backup & Replication connects to the Linux repository server using the Granados SSH library that does not support FIPS mode.Veeam Backup & Replication can use one of the following SSH libraries to connect to a Linux server:
- Granados SSH — this library does not support FIPS 140-2 compliant key exchange methods. Veeam uses this library if FIPS mode was not enabled on the Linux server at the time when the server was added in the Veeam backup console.
- Renci SSH — this library supports FIPS 140-2 compliant key exchange methods. Veeam uses this library if FIPS mode was enabled on the Linux server at the time when the server was added in the Veeam backup console.
For example, you add a Linux server in the Veeam backup console at the time when FIPS mode is not enabled on this server. In this case, Veeam Backup & Replication connects to the server using the Granados SSH library. If you then enable FIPS mode on the server, Veeam Backup & Replication will still attempt to make connections to the server using Granados SSH, and these connections will fail.
Solution
After you enable FIPS mode on a Linux repository server, add the server once again in the Veeam backup console:- In the Veeam Backup console, click Backup Infrastructure > Managed Servers > Linux.
- Right-click the server in the list and click Properties....
- Follow the steps of the Edit Linux Server wizard without changing the server properties — just click Next, and then click Finish.
More Information
If you are unable to get through the properties of the Linux repository server without an error, check that the credentials used to connect to the server are valid and that there are no firewalls blocking port 22 between the Veeam backup server and the Linux server.Try using PuTTY to make an SSH connection to the Linux server from the Veeam backup server using the same credentials that are specified in the Veeam backup console. This will help to ensure that it is possible to connect to the server outside of the Veeam software.
If issues remain, please contact Veeam Support.