Technical Tip: How to fix the error 'Unable to negotiate with _IP_ADDRESS_ port 22: no matching host key type found. Their offer: cipher'
| Description | This article describes the steps to add a missing cipher to establish an SSH connection. |
| Scope | FortiSIEM configuration. |
| Solution | In FortiSIEM, it is possible to face this error when trying to connect to devices, when applying remediation scripts via SSH. This error happens while the encrypted channel is being set up. If FortiSIEM and the remote system do not share at least one cipher, there is no cipher to agree on and no encrypted channel is possible.
cp -rp /etc/ssh/ssh_config /etc/ssh/ssh_config.bkp
vi /etc/ssh/ssh_config
Host 10.0.1.254
systemctl restart sshd.service |
