How to start an openssh-server in my booted Live CD environment.

What can I say? I like to copy and paste things. And when dealing with UUID's it is almost a requirement. It was not very difficult to do.

The general outline is this:

  1. Update the apt repository.
  2. Install the openssh-server package.
  3. Start the sshd server.
  4. Set the password for the user user.
  5. Get the ip address.
  6. SSH into it.

In the live environment run these commands

sudo apt update
sudo apt install openssh-server
sudo systemctl start sshd
sudo passwd user

To get the current IP address, use ip a. That will show the addresses assigned.

Now you can SSH into that environment by using ssh user@ipaddress and use the password you assigned to it.