[lxc-users] can't login by ssh with root to my containers

Pavol Cupka pavol.cupka at gmail.com
Wed Dec 21 10:17:05 UTC 2016


hint /etc/ssh/sshd_config
PermitRootLogin

On Wed, Dec 21, 2016 at 11:10 AM, Fajar A. Nugraha <list at fajar.net> wrote:

> On Wed, Dec 21, 2016 at 5:03 PM, mierdatutis mi <mmm286 at gmail.com> wrote:
>
>> Hi,
>> I'm trying to login by ssh from my host to my lxc servers with root.
>> When I'm trying with ubuntu user I don't have any problems but when I do
>> with root says me password incorrect.
>> In my lxc I do "sudo passwd" to change my password.
>>
>> Any help please?
>>
>
> Containers are, for most purposes (including ssh login), just a minimal OS
> install. As such, look for relevant howto for your container distro/version.
>
> A simple google search would've got you the result you wanted for ubuntu:
> https://www.google.com/search?q=ubuntu+16.04+ssh+login+root
> https://linuxconfig.org/enable-ssh-root-login-on-
> ubuntu-16-04-xenial-xerus-linux-server-desktop
>
> --
> Fajar
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20161221/1c5642f1/attachment.html>


More information about the lxc-users mailing list