The following change is part of the update from 0.1 to 0.2:
--ssh-key Add the given ssh public key file (absolute path)
- to root's authorized keys and install openssh-server
+ to user's authorized keys and install openssh-server
(WARNING: this has strong security implications)
...
fi
# we have a key, add it
chroot root apt-get install --force-yes -y openssh-server
- mkdir root/root/.ssh
- cp "$SSHKEY" root/root/.ssh/authorized_keys
+ mkdir root/home/$VMUSER/.ssh
+ cp "$SSHKEY" root/home/$VMUSER/.ssh/authorized_keys
+ chroot root chown -R $VMUSER:$VMUSER /home/$VMUSER/.ssh
+}
+
I don't think it is part of this bugfix in particular, but this breaks
the behavior between the version of ubuntu-vm-builder in hardy and the
behavior of the version in hardy-proposed and is IMHO unsuitable for a
SRU.
I also couldn't find a entry in the changelog of 0.1 to 0.2 that
indicates this change. The upload breaks ssh login for me.
Thanks,
Michael
--
[SRU] ssh root login broken
https://bugs.launchpad.net/bugs/234062
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs