[SOLVED] what is default username in LXC ubuntu

winyiday

New Member
Nov 21, 2022
7
0
1
LXC ubuntu-20.04-standard

I have already set a password, but I don't see where the username is set
I tried many usernames but none of them
 
Yes. SSH login as root is disabled as default.
For anyone else stumbling on this thread via search:
SSH login as root is NOT disabled by default.
SSH login as root USING A PASSWORD is disabled by default.
If you gave it an ssh key during the setup of the lxc container or you add one later on, you'll see you can login using an ssh key to the root user, by default
 
  • Like
Reactions: Skankhunt42