OpenSSH /etc/ssh/ssh_host_rsa_key

Original 📋 Ubuntu 18.04 LTS (Bionic Beaver) 27 lines

Details

Size
27 lines
MD5
545c36c3cc7789b112f07822ce9c4b60
SHA256
75b5cc4817578474997a17b668809e5046dc45c9285113c2c2eadb5e34302e29
/etc/ssh/ssh_host_rsa_key
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA1NWzHoInt61vAL7HtFQGO94f/wtdaZfEVXts2ZrVv7zzVKxs
fWJrGHEP6zORygPFJLUWTYIKAyajVn3gtZ+0KSNHjRLyaPkWywMMSdNKw5BqSk/8
kU0Z65x2WHwndc+S/kLsk3/XiNnmypAMZ6a7VDygBNOAAM0IRDV/BPH/oBSGdUEv
zkCWEvKamp8PnH8teKPF1z8vupLjQ/EQiOOYy5EWZOuS5eBFNjjGliFcMWDdioXZ
+MgkAXAb5KJtM1CfeWKWpB6KLPCCKhdVHgxhX2LDCZ9syhVYN5m4oSZTwiSBhIh5
xu3LEwAFWuT+Wvxd1QAue+ZhhwYvaYFkxjrhvwIDAQABAoIBAQCig5LEBupA7GNI
FGT1IvunlxKjcpAfYs194ELbXck9IRBEZWxpyU6xWROoqrX1pS9RuhyPjm4KveQW
1QNSa+HrT48A/6it0xU+atNlQ7tg3NLsb2sRn+fc6pnLMvIGmTtKftuaPRHc41XA
8oEmXD/KMIiXZs/kzKo1OwwEQKzKE72jbqqVz3XZ+h0iSh2fSbo4MC6dzf9cAv+E
emDMu2544sdjk0RG3z0lSLfsm9CD3HDL3wto+xUbzgAxCL0uvTKYMcTcPzxXrRB6
13JAU/OphFtRUwH1d3jK8Z4afjk+Y3ByOIRuhClmhxoSvvsZy1f1TELbdH1yRdsB
rs/FIb+BAoGBAOtn224J3HAh+P28lCant+6xE7tYja4DvOohm4VWysWQ1iqnPMi6
CDznAcePIgQCzOlXAFOv3IY1PsVWrByFP6SoydR47PrTY8GgXkF3E/i1glb9NkOl
M8e5lSSrbgKf7hHDJIF18tAppV3FIvtOOe2F9jmaReDqeGvO8mfaRcChAoGBAOd0
WCYnv4bQrLfTNh4fISFyUAI8+/HHW5PI1JIBDoF1WYbWRpVoPgobhCfAdAckAQcO
X0XjZEEjMeaeH37WJAtU2JObAxs6mlQQqlPleRQ8mup1iWyLz9zeGVJoGv1taPR3
/uacV4YLfmZsBMCNTfxx7Uby699e9Dw8ADYlcKZfAoGADCbNTe3WYjduufJdF226
8ehUI2yby6rHurJHa+eiCfbDB2qgmZ/4wuQN1HZQBDL8zuK90pQWZxsihV9G/SXn
tiE8YepoGT6GPL2BgBGch08fTkw929oQRTQQPddXk20cBfCz1rb29MXhkmiVuLE+
DkPHBQwwpT6VPsNtAe1jgmECgYA+jJuR3CYPWe+DUioK4+DBODJVGIQB6B1gh+Ki
fnScGcmS/e9fSyeQ9bS2RXVVxK4eaQzoRzZ9v/QpXcwnK9nb0hchdL/XKPQyCbru
J1KcXHCFMjRsSDBpgQAY3BeHK300rAUP72pbyFlldoWmP8m2kldMWDPUTsX0TUbF
W0LhQwKBgE4iESSoWR7DKKJV5GM7GU6hLKEPrEUEa7sFKp8iDTKRkz2go71SpOh3
rSDhUonWRjcqlEOnAl1Ec3K3C2/FupbVig4PumLOWA8zdyqQa7gMwzTOp7ulYMN5
JxGBlPP+ZJB28DwZTkiW/eJVPNXmVC1SINWFEvJ0PE35E+Qc7Fgp
-----END RSA PRIVATE KEY-----

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/545c36c3cc7789b112f07822ce9c4b60?hint=ssh_host_rsa_key
wget:
wget -O ssh_host_rsa_key https://exampleconfig.com/api/v1/config/original/545c36c3cc7789b112f07822ce9c4b60?hint=ssh_host_rsa_key

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/545c36c3cc7789b112f07822ce9c4b60?hint=ssh_host_rsa_key' /><config><app>OpenSSH</app><os>Ubuntu 18.04 LTS (Bionic Beaver)</os><location>/etc/ssh/ssh_host_rsa_key</location><lines>27</lines><md5>545c36c3cc7789b112f07822ce9c4b60</md5><sha256>75b5cc4817578474997a17b668809e5046dc45c9285113c2c2eadb5e34302e29</sha256></config></prompt>

Paste into Claude, ChatGPT, or any AI assistant.

Install OpenSSH

Alpine Linux

sudo apk add openssh-server

Debian

sudo apt update && sudo apt install openssh-server

Red Hat Enterprise Linux

sudo yum install openssh-server

Ubuntu

sudo apt update && sudo apt install openssh-server

File Location

File Path
/etc/ssh/ssh_host_rsa_key
Directory
/etc/ssh/
Significance
System-wide configuration directory
Description
Files in /etc/ contain system-wide configuration settings that affect all users.

FAQ

When should I use this ssh_host_rsa_key?

Use it to restore a missing default, confirm what shipped, or diff against your current OpenSSH config.

How do I restore OpenSSH defaults?

Download the file, back up the current one in /etc/ssh/ssh_host_rsa_key, replace it, then reload or restart OpenSSH.

Is ssh_host_rsa_key safe for production?

It is the vendor default for Ubuntu 18.04 LTS (Bionic Beaver). Treat it as a baseline and review security and performance settings before production use.

How does this differ from other OS versions?

Defaults vary by distro and version. This copy matches Ubuntu 18.04 LTS (Bionic Beaver).

Can I use this for OpenSSH troubleshooting?

Yes. Diff it against yours to find drift, then restore only the sections you need.