OpenSSH /etc/ssh/ssh_host_rsa_key.pub

Original 📋 Ubuntu 22.04 LTS (Jammy Jellyfish) 1 lines

Details

Size
1 lines
MD5
f01fc996c54794f390d53598580c265d
SHA256
ce872bc696f6669c42a28c7fa2c6cc2206f082f809b2a1243ee2132e296e7c33
/etc/ssh/ssh_host_rsa_key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCS+jleGJhePDAEp5RmmzbOsD0KunFA6dqnqxnvA10F/zvhYV1oqpEHMEMNVHZZTmaVIgImFwWJcMcKesHV+uwho83X3I3I3oh9OUBk0taqb7XQkeRJf9DR3M38RpAYJfTjf/KlaZwCE5PAtxeIaDvV5xHTKqXoNVywkzIBsvExYcY3/AGTWruIlMfnu2dyxr0VOOr87n68dzGDiJJqwUEXTdVJcWk6g89LT+MzdVh5j5VYkwLC2l62R2btI+bO3AAYK/EATVthHovjlxU6wwc94VY6QDubhIlwP96miGjBdNZdeBcR1sy9G+9Q5Ly1lXBBkcHaqjc5YauO/ecdPTzyp62XpQEkSVRHqmmBmj5chXBAno5klc/kESaeqPaqBpR9SQMewpK+IlhK4ZGIaQpw/ddj/NoxxUCiSVLu7XoWlzxo/Ain2lDWkcuodvHGfTYO/L+Etju2UPfayxzrhrsBlwEWh24rTmkXmlPe2/s3j563k7UiMYy1iPbTvtO8x4U= root@ed318f454bb4

Copy & Paste

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

For AI Agents

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

Can I use this for OpenSSH troubleshooting?

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