B borpin Member Jun 27, 2020 23 18 8 61 Jul 4, 2020 #1 I have a new container created from an Ubuntu template. I can connect via console through the UI, but cannot SSH into the container. I can see via the UI that the SSH login authentication fails. Any suggestions? Reactions: TheePorkchopExpress
I have a new container created from an Ubuntu template. I can connect via console through the UI, but cannot SSH into the container. I can see via the UI that the SSH login authentication fails. Any suggestions?
B borpin Member Jun 27, 2020 23 18 8 61 Jul 4, 2020 #2 Solution was obvious - root by default is not permitted to login via SSH on Ubuntu. Create a drop in to override the setting and restart the service. Code: echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/rootlogin.conf && systemctl restart sshd.service Last edited: Jul 5, 2020 Reactions: khampol, ttrstechdev and TheePorkchopExpress
Solution was obvious - root by default is not permitted to login via SSH on Ubuntu. Create a drop in to override the setting and restart the service. Code: echo "PermitRootLogin yes" > /etc/ssh/sshd_config.d/rootlogin.conf && systemctl restart sshd.service