OpenSSH /etc/ssh/ssh_host_ecdsa_key

Original 📋 Debian 13 (Trixie) 9 lines

Details

Size
9 lines
MD5
80a5d7e1cca448be378eebcccac7c057
SHA256
a64a2c7f72902718b0479a2d8b706f42a6b2f8cbe2ebae796f1156bc440edfbe
/etc/ssh/ssh_host_ecdsa_key
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAaAAAABNlY2RzYS
1zaGEyLW5pc3RwMjU2AAAACG5pc3RwMjU2AAAAQQTrZDwfNtnFTByRBNkmkpXinXcB7WBm
lYGBfWxdP0uMn342bbqZdXp8xJ86A/9yTeiAoNnEp5Buy96dKvrVMLvEAAAAsA5lbQsOZW
0LAAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOtkPB822cVMHJEE
2SaSleKddwHtYGaVgYF9bF0/S4yffjZtupl1enzEnzoD/3JN6ICg2cSnkG7L3p0q+tUwu8
QAAAAhAMl7rM1uCtwkPIRhCXog7fSqiT7+gqJY5eJsGH50O+YzAAAAEXJvb3RANDVmN2I4
NjBkMDg0AQIDBAUG
-----END OPENSSH PRIVATE KEY-----

Copy & Paste

curl:
curl https://exampleconfig.com/api/v1/config/original/80a5d7e1cca448be378eebcccac7c057?hint=ssh_host_ecdsa_key
wget:
wget -O ssh_host_ecdsa_key https://exampleconfig.com/api/v1/config/original/80a5d7e1cca448be378eebcccac7c057?hint=ssh_host_ecdsa_key

For AI Agents

<prompt><role>DevOps agent</role><source url='https://exampleconfig.com/api/v1/config/original/80a5d7e1cca448be378eebcccac7c057?hint=ssh_host_ecdsa_key' /><config><app>OpenSSH</app><os>Debian 13 (Trixie)</os><location>/etc/ssh/ssh_host_ecdsa_key</location><lines>9</lines><md5>80a5d7e1cca448be378eebcccac7c057</md5><sha256>a64a2c7f72902718b0479a2d8b706f42a6b2f8cbe2ebae796f1156bc440edfbe</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_ecdsa_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_ecdsa_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_ecdsa_key, replace it, then reload or restart OpenSSH.

Is ssh_host_ecdsa_key safe for production?

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

Can I use this for OpenSSH troubleshooting?

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