[Bug 1005440] Re: "Could not load host key: /etc/ssh/ssh_host_ecdsa_key" when connecting

Adrien Beau 1005440 at bugs.launchpad.net
Sat Jan 26 15:00:35 UTC 2013


I was affected by this bug too, using Ubuntu Server 12.04.1 LTS, with
openssh-server 1:5.9p1-5ubuntu1. Using the following command line solved
the issue:

sudo ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa

I think it is important to note the following:

-- I did not install Ubuntu myself, it was automatically installed by my
dedicated hosting provider;

-- The install (or at least the SSH key generation) was performed from
an operating system booted and downloaded from the network (Debian 6.0.4
as far as I can tell);

-- The Ubuntu install has been slightly altered by my dedicated hosting
provider (nothing malicious, I checked that using debsums and diff;
mostly a couple additional proprietary hardware RAID administration
binaries in /sbin, a small monitoring framework in /usr/local, one
additional cron entry, and their very own Linux kernel).

So, I cannot say that the missing key is due to a bug in the openssh-
server install scripts (the openssh-server.postinst script looks fine to
me); I strongly suspect it is due to a bug in my hosting provider's
installation.

Michael Nagel, Kaizoku, did you install Ubuntu yourselves, or are you
using a version installed by a hosting provider?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1005440

Title:
  "Could not load host key: /etc/ssh/ssh_host_ecdsa_key" when connecting

Status in “openssh” package in Ubuntu:
  Confirmed

Bug description:
  when connecting to my Ubuntu 12.04 server via ssh I get a log entry
  Could not load host key: /etc/ssh/ssh_host_ecdsa_key
  for every (attempted) connection. SSH should be configured in a way that does not generate such a warning...

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openssh-server 1:5.9p1-5ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Mon May 28 11:00:08 2012
  InstallationMedia:
   
  SourcePackage: openssh
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions




More information about the foundations-bugs mailing list