OpenSSH /etc/ssh/ssh_host_rsa_key.pub

Original 📋 Debian 11 (Bullseye) 1 lines

Details

Size
1 lines
MD5
2d6aaec91312c8a7b12b74faa1a3caca
SHA256
3084b8b0442be7cf1d8dbb740dabdc8a5ee35530a1da7d6964ca3012453da4b8
/etc/ssh/ssh_host_rsa_key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCzphdI22yyIelY48Y9uqa5AoQTLtNmFzLNbGkm/k6MhHSpeDHXOR4crinJBLpB7W0W9R/sgnu7l/+v+gxBpK0MGVYSqDVYBTdoA7VKx9OlCpevApb16qoORnjh8PUJmul9y7hewx2Wx0GX9Muc9TcsZlO6++PZlmpMt+lKyUXiGAu5cTo3UbHFLfMz7H3GBOWOdcC4n5x1l0d8XMbUCQC4r2bBNUcPP3m3ivktmP42MGiwUqoCS/819DHeBiJMceCP6tXSbcJU/GRY4dzykxiPIt+TJfYS57yO9dP9TMqSovSBQfgu37Tc19nL1h4A+d8IXvelT75Xv96Ai4Jro3aNWzTKQSL+XxL3R7onLWAcALTKIgUnOOl6q/WX85TS7Gg4L7Cj1HdztInYnl+CX5W3c4ZpMXb9C/Xo1BZXU648yVyMHi8sdmq/7gl1K1l9G1JpOGF5WRvCuNisCZ4DnDsaOSZI4/GVIkSRjoT1PmEXFEqDBE8RQUdmcrg6HWwXpxc= root@33c8c3e2bd72

Copy & Paste

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

For AI Agents

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

Can I use this for OpenSSH troubleshooting?

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