Calculate Forum

Unable to ssh to Calculate lxd container

Hi Guys although i have the ip correctly set,sshd daemon running etc I can never be able to ssh into the container.
I always get an error
“Connection closed by remote host”.
I can log in by
lxc exec cl /bin/bash
BUT no ssh.
Both as root and as ordinary user(I have allowed root access in sshd_config)
I am running the container in an openrc Gentoo.
Why might that be?

Try to remove pam_limits.so from /etc/pam.d/system-auth and /etc/pam.d/system-service.

© 2007-2020 Calculate Ltd.
Mastodon Mastodon