OpenSSH /etc/ssh/ssh_host_rsa_key.pub

Original 📋 Debian 10 (Buster) 1 lines

Details

Size
1 lines
MD5
c7b9aeaf5993187220a31e23c1f4875d
SHA256
e51416029cddd8a0e4bb3b5f26ef4c51cabef20e2c04e63f1d19085b22751c54
/etc/ssh/ssh_host_rsa_key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAMIzZSWfpNkVPV/G2u6stv4K9Rl8eQx0zl4eHWU3vCjl2x0wkQ34SpejZueRUUBvJOvABRhbByBX7ghJJFfCabYTOChKlJqdSV5rXen7KLRvKHUUF7y2sqI7GzueTHgqa6h9B+GNkUBgQM841Rc3LVLeFof0Zs6AKQjMrG0gefKGX3LgmrzxLYV2YZkIibPmifWea4Bp3ESq7pNsfgHanUhc4EEFBOhgUPmXiuPxm7WGfsl/JDSrW9ZEnkpXeezEiWXD6SJ02Mql4/omqX5bscfxBOCYEDU+mCRlux8JU3I+6FJHqqMortoReoyvHduBXHO9MVoNHNiLAop5lntLB root@5d7fdc9475f7

Copy & Paste

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

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/c7b9aeaf5993187220a31e23c1f4875d?hint=ssh_host_rsa_key.pub' /><config><app>OpenSSH</app><os>Debian 10 (Buster)</os><location>/etc/ssh/ssh_host_rsa_key.pub</location><lines>1</lines><md5>c7b9aeaf5993187220a31e23c1f4875d</md5><sha256>e51416029cddd8a0e4bb3b5f26ef4c51cabef20e2c04e63f1d19085b22751c54</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 Debian 10 (Buster). 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 Debian 10 (Buster).

Can I use this for OpenSSH troubleshooting?

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