[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
The issue I believe is because openssh-server.postinst doesn't add new HostKey to an existing sshd_config file. Because of this, newer key format are not generated in postinst. IMHO, they should always be generated via ssh-keygen -A and the admin would then be free to include a HostKey directive for every supported key type. -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
The issue I believe is because openssh-server.postinst doesn't add new HostKey to an existing sshd_config file. Because of this, newer key format are not generated in postinst. IMHO, they should always be generated via ssh-keygen -A and the admin would then be free to include a HostKey directive for every supported key type. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
A simple `dpkg-reconfigure openssh-server` also does the trick: root@host:/# dpkg-reconfigure openssh-server Creating SSH2 ECDSA key; this may take some time ... Restarting OpenBSD Secure Shell server: sshd. -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
A simple `dpkg-reconfigure openssh-server` also does the trick: root@host:/# dpkg-reconfigure openssh-server Creating SSH2 ECDSA key; this may take some time ... Restarting OpenBSD Secure Shell server: sshd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
I setup a vServer with ubuntu 12.04.02 LTS last week using the image that my provider has supplied and I get the same error reported from logwatch. error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key Looking at the /etc/ssh I only see: ssh_config sshd_config ssh_host_dsa_key ssh_host_dsa_key.pub ssh_host_key ssh_host_key.pub ssh_host_rsa_key ssh_host_rsa_key.pub Strange enough I did not notice any problems not having the ecdsa key except the message from logwatch. So what is it needed for anyway? Nevertheless I created the ecdsa key using ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa to get rid of the message. -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
I setup a vServer with ubuntu 12.04.02 LTS last week using the image that my provider has supplied and I get the same error reported from logwatch. error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key Looking at the /etc/ssh I only see: ssh_config sshd_config ssh_host_dsa_key ssh_host_dsa_key.pub ssh_host_key ssh_host_key.pub ssh_host_rsa_key ssh_host_rsa_key.pub Strange enough I did not notice any problems not having the ecdsa key except the message from logwatch. So what is it needed for anyway? Nevertheless I created the ecdsa key using ssh-keygen -f /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa to get rid of the message. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Had the same issue here, using also a hosting provider. -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Had the same issue here, using also a hosting provider. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Michael Nagel are you using a version installed by a hosting provider? yes, this is the case -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Michael Nagel are you using a version installed by a hosting provider? yes, this is the case -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
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 Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
The correct Syntax is as following : sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ”YourNew Passphrase Instead of YourNew Passphrase you can use any word that you like as long as it has more as 4 charachters. -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
The correct Syntax is as following : sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ”YourNew Passphrase Instead of YourNew Passphrase you can use any word that you like as long as it has more as 4 charachters. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ” Generating public/private ecdsa key pair. passphrase too short: have 3 bytes, need 4 Saving the key failed: /etc/ssh/ssh_host_ecdsa_key. The above mentioned solution doesn't work. -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ” Generating public/private ecdsa key pair. passphrase too short: have 3 bytes, need 4 Saving the key failed: /etc/ssh/ssh_host_ecdsa_key. The above mentioned solution doesn't work. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openssh (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openssh (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
i did now, and it fixes the issue. i think the need to do this manually is somewhat unfortunate, however. ** Changed in: openssh (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
i did now, and it fixes the issue. i think the need to do this manually is somewhat unfortunate, however. ** Changed in: openssh (Ubuntu) Status: Incomplete = New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
-- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Have you done the following: sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ” Thanks chuck ** Changed in: openssh (Ubuntu) Importance: Undecided = Low ** Changed in: openssh (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1005440] Re: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting
Have you done the following: sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -N ” Thanks chuck ** Changed in: openssh (Ubuntu) Importance: Undecided = Low ** Changed in: openssh (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1005440 Title: Could not load host key: /etc/ssh/ssh_host_ecdsa_key when connecting To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1005440/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs