OpenSSH /etc/ssh/ssh_host_rsa_key

Original 📋 Debian 9 (Stretch) 27 lines

Details

Size
27 lines
MD5
a67d83660235fa7151574614e9c74d18
SHA256
14e909441ec1813305a8ad0054fe02b659c17912f01356530c9806ccdcd6b53f
/etc/ssh/ssh_host_rsa_key
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAo3lpC0+I/j/9cBWtWonpH2jC/Z16NFCo360Ux0Ddpf2b7r+W
/57zKr8YQ4QPW/Ch5H9bmivnkWQfry+vu9VcUi5+gvhluAPcQDwXScjFFfSwTei4
rHISZrcfQdvj6VIbH7XH2F2Jw0tPvI/c2WV4X8bHXM3KQqjmjKnGwvz9xH/QvJuu
CA1G02Qrw0rKNQzIJcSZVVhqkBcesyydz5Bw3a0gEW9HTFdMmzXg3I/Z5LEbDFJW
9MO+jzv8EjPhmVcE9mcT1gaR4ajZiPgiAV/WijHN/D6oChjx6IIy8QZi5z5zyszO
vzrMTDoG5nTWin4JNY2NqHB/KQ3pxj+xsB9oVQIDAQABAoIBAF8UDUFz1+SwiRH4
uaOwFHOdNdPWFK56v02g2DXvhzq0302kBwnTg/C3xj/2fgxmT3KblEZ+BKguSLNW
k+o2dQSjYBeCq360WBTQHmdeqypS73vQwCAkFInDNh3S66LXi0kNLBeuh6Kbmdu8
/KFAgBuMfIWAd4P/wl/Lmvvrsxjmo/LIjg7cMBQPFAArazDvx8KnLJM81S6E+KqK
cxei5afoX/6a3FB42SSGsjAEQtXz0OfitmXP9AYa/jjxTpwzIWS+X3lLgPcWfGTA
sNiWau7heXozoa1wXx3rNdtmK9BAo9szH0CiAAL0SY/mJsFE5Etcg+9Xvdx45xdB
xNEDcuECgYEA1QzoqzxYrj9D0KCxP5qOiapZhlix9JI9cZXLXu7wg6W5jQDOh6uY
7W5yKi/f6rjdZwYT5QxkZNuPNcBEZ/qbuHtrvUv6c7XwChiuckKU7QcGipXsdsaX
hq+3Vwjsxl+OzylQxIN56+Fxzjq+bq1TFuoRGN+ajofaArVms0FvzIkCgYEAxG36
bMmU3NAsr7ysJkSxwJrX9/ArOtwxz6p+Db+FVCNrgXLW3+kHU0jkk+MC4vdsTw/z
i1161zu3pxVn5GWcxsoPOR/rLhdBNly61GZ1ukFlFkhdwivROuB/4ZrFG3S5LC8n
yhUPVlVGY0NuvWemlJ26EzMZ2/FGQQxC7Wv6Qm0CgYAqxXWscugGy1Ks/qW29Ctr
fdSNQR8wz28gb4ctnuCQPWQb566O1CdWe1bWG1hjwgtI1JKH6E37ZYzBqMDS8x/y
EG0XyroUItF25W+YJr/JOiDZD7IyQjpHYt12zqbiSGreMhgx64c9kLwNQAPdKlTF
A+a8zJ81wBZHdu2QTTHJqQKBgQCQOhA+AGUFHPUys93S222IdilNK1MSjMsmJ5EW
lyFWfgtZqPCMx5VRWZw72dssu28TPisckS65Cmf2jokR8moCrCoxT3ZnCTwgpkWn
3vNiJtIKYmg1QecGzAAZroI7fqDYCGe2wW/ZfBOKnuCYwZpWVNljb4n1LFrhOBeM
LFQ8oQKBgG1FfpYMpMMZCclF971cD7ZVSevgQFyVauyGsVyrIu/YaG/vaDVbSIW5
xQwBBS2OXiJHRi8c1f6NSGg7Q638oqhKZJToNiWuX8DfcYAauVx+uoxUtQczciZ2
smVFCHD8tgPK66kVx5kBfl8QYkqGEb79mmqlacnd+roZuJIIOZjA
-----END RSA PRIVATE KEY-----

Copy & Paste

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

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/a67d83660235fa7151574614e9c74d18?hint=ssh_host_rsa_key' /><config><app>OpenSSH</app><os>Debian 9 (Stretch)</os><location>/etc/ssh/ssh_host_rsa_key</location><lines>27</lines><md5>a67d83660235fa7151574614e9c74d18</md5><sha256>14e909441ec1813305a8ad0054fe02b659c17912f01356530c9806ccdcd6b53f</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
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?

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

Is ssh_host_rsa_key safe for production?

It is the vendor default for Debian 9 (Stretch). 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 9 (Stretch).

Can I use this for OpenSSH troubleshooting?

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