Cisco ASA Syslog 315004: Fail to establish SSH session because RSA host key retrieval

Reference for ASA firewall logs. Check the source documentation against your installed software version.

Cisco ASA message 315004

Severity 3 — Error

Message format

%ASA-3-315004: Fail to establish SSH session because RSA host key retrieval

Explanation

The ASA cannot find the RSA host key, which is required for establishing an SSH session. The ASA host key may be absent because it was not generated or because the license for this ASA does not allow DES or 3DES encryption.

Plain-English interpretation

The ASA cannot establish an SSH session because the RSA host key is missing or inaccessible. This occurs when the key was never generated, the device license doesn't support DES/3DES encryption required for SSH, or the key was deleted. Verify key existence with 'show crypto key mypubkey rsa' and regenerate if absent using 'crypto key mypubkey rsa'.

Recommended action

From the ASA console, enter the show crypto key mypubkey rsa command to verify that the RSA host key is present. If the host key is not present, enter the show version command to verify that DES or 3DES is allowed. If an RSA host key is present, restart the SSH session. To generate the RSA host key, enter the crypto key mypubkey rsa command.

Illustrative example

Illustration; not a captured production log.

Mar 10 14:23:47 %ASA-3-315004: Fail to establish SSH session because RSA host key retrieval failed from 192.168.1.105 port 22 on interface outside

An SSH client at 192.168.1.105 attempted to connect to the ASA's outside interface on port 22, but the connection failed because the ASA's RSA host key was not available for the SSH handshake.

Cisco ASA documentation

← Previous: 314006Next: 315012 →

Search another message · Browse this range

Dataset generated May 29, 2026. Site content cleanup October 4, 2026; this is not a new Cisco documentation release.