OpenSSH /etc/ssh/ssh_host_rsa_key.pub

Original 📋 Ubuntu 24.04 LTS (Noble Numbat) 1 lines

Details

Size
1 lines
MD5
d9e125e02714a355f094e508765de81f
SHA256
c5cf5a8f544919405a31e49a2af707c58dce6a91d70da882ddfbd22f4a8f8797
/etc/ssh/ssh_host_rsa_key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCgOrXq+y4qIFSX+EeCZZhWcOqvBVgg4o1Q8mM7Ma3oYK1ecn/ozVFTQ4asFzFVg38hdyfpLpQwpFVuIVs75cjQoBtjoFbZ+ccal+/S1WrgctYRkuC12hhYRsmAuLS0SIQf1dUKG602P8qk5pizI3eXV8cmf0mt+roSoEhUa7wYMYKd5szLasgNZRpf83kwNEnoaH7IB8Pn4DgG7zTDtq3fQ+SK/znUUqfNO9wsxU0UlUfKegvQ/9FdfNjS/h39eWFNdQbl1365kCU/oafMPFZ2uxiKCoV0242x9Ug2ErF1vd9qdnYPJ/azek9L0+CIOFK3K9Fwa9BbqlvAWy7NsHLYquTeCkv2ugg699sqoHJOWCJ6So+2kTVg5swRHaat5YinQu8+OcTiSpwux+mU4P1MXJMXqBzuUpeLEN9DgakUsTbF09VXQ+Nq3xcr63tJZNhSKSBYpqPsClBkcKWbrmAnkfkJ9qQLomECY6huWC0p7HaIFXF+3XOyCXr7L53/IUs= root@d92174990b6c

Copy & Paste

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

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/d9e125e02714a355f094e508765de81f?hint=ssh_host_rsa_key.pub' /><config><app>OpenSSH</app><os>Ubuntu 24.04 LTS (Noble Numbat)</os><location>/etc/ssh/ssh_host_rsa_key.pub</location><lines>1</lines><md5>d9e125e02714a355f094e508765de81f</md5><sha256>c5cf5a8f544919405a31e49a2af707c58dce6a91d70da882ddfbd22f4a8f8797</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.pub
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.pub?

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.pub, replace it, then reload or restart OpenSSH.

Is ssh_host_rsa_key.pub safe for production?

It is the vendor default for Ubuntu 24.04 LTS (Noble Numbat). 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 24.04 LTS (Noble Numbat).

Can I use this for OpenSSH troubleshooting?

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