I am just testing with LXD after using lxc until now.
I start a Debian Bullseye image - but I cant login.
- within the container station console, there is no auto-login as before. user "root" pw "" or any combination of these does not work
- ssh root@xxx gets an "port 22: Connection refused"
how to I get into this shiny new container?
thank you
LXD Debian how to login? ssh not working
-
- Starting out
- Posts: 15
- Joined: Fri Feb 27, 2015 8:53 pm
-
- New here
- Posts: 8
- Joined: Sat Oct 19, 2019 10:55 am
Re: LXD Debian how to login? ssh not working
use
lxc exec debian-1 bash
to get into the console of debian, then use passwd to change root password
lxc exec debian-1 bash
to get into the console of debian, then use passwd to change root password
-
- Starting out
- Posts: 15
- Joined: Fri Feb 27, 2015 8:53 pm
Re: LXD Debian how to login? ssh not working
but there should be a gui way.
is this related to your other question that the lxd is blocking port 22 perhaps?
is this related to your other question that the lxd is blocking port 22 perhaps?
-
- Starting out
- Posts: 15
- Joined: Fri Feb 27, 2015 8:53 pm
Re: LXD Debian how to login? ssh not working
found it!
within the container, there iss the "terminal" button on top.
there you can execute the passwd commend. then a new screen appears to set the password. afterwards you can login via the GUI terminal
within the container, there iss the "terminal" button on top.
there you can execute the passwd commend. then a new screen appears to set the password. afterwards you can login via the GUI terminal