OpenSSH /etc/ssh/ssh_host_rsa_key.pub

Original 📋 Ubuntu 18.04 LTS (Bionic Beaver) 1 lines

Details

Size
1 lines
MD5
75ff35a4601a0236b242a7c239795693
SHA256
4f42e064d6a58ec8705c278d6b30c80033a2325277d819617ed2cd877f609b36
/etc/ssh/ssh_host_rsa_key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU1bMegie3rW8Avse0VAY73h//C11pl8RVe2zZmtW/vPNUrGx9YmsYcQ/rM5HKA8UktRZNggoDJqNWfeC1n7QpI0eNEvJo+RbLAwxJ00rDkGpKT/yRTRnrnHZYfCd1z5L+QuyTf9eI2ebKkAxnprtUPKAE04AAzQhENX8E8f+gFIZ1QS/OQJYS8pqanw+cfy14o8XXPy+6kuND8RCI45jLkRZk65Ll4EU2OMaWIVwxYN2Khdn4yCQBcBvkom0zUJ95YpakHoos8IIqF1UeDGFfYsMJn2zKFVg3mbihJlPCJIGEiHnG7csTAAVa5P5a/F3VAC575mGHBi9pgWTGOuG/ root@2549b2029aaf

Copy & Paste

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

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/75ff35a4601a0236b242a7c239795693?hint=ssh_host_rsa_key.pub' /><config><app>OpenSSH</app><os>Ubuntu 18.04 LTS (Bionic Beaver)</os><location>/etc/ssh/ssh_host_rsa_key.pub</location><lines>1</lines><md5>75ff35a4601a0236b242a7c239795693</md5><sha256>4f42e064d6a58ec8705c278d6b30c80033a2325277d819617ed2cd877f609b36</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 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.