touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #05216
[Bug 1317592] Re: cannot log into trusty ubuntu-cloud based LXC containers
[Expired for openssh (Ubuntu) because there has been no activity for 60
days.]
** Changed in: openssh (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1317592
Title:
cannot log into trusty ubuntu-cloud based LXC containers
Status in “openssh” package in Ubuntu:
Expired
Bug description:
freenode #ubuntu-server pointed me to create the bug here. Not sure if
it belongs here or elsewhere.
Create a container like so:
$ sudo lxc-create -t ubuntu-cloud -n base -- -S ~/.ssh/id_rsa.pub -r trusty
Start it:
$ sudo lxc-start -d -n base
Attach to the container:
$ sudo lxc-attach -n base
Try to login (fails with too many authentication errors):
$ ssh -i ~/.ssh/id_rsa ubuntu@`dig @10.0.3.1 base` -v
Look at logs (/var/log/auth.log) on attached container and see:
- error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
Work around by manually creating key:
$ sudo /usr/bin/ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -N ''
$ sudo service ssh restart
Login now works.
System info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
OpenSSH version: OpenSSH_6.6p1 Ubuntu-2ubuntu1, OpenSSL 1.0.1f 6 Jan
2014
LXC version: 1.0.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1317592/+subscriptions