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:
- Update the apt repository.
- Install the
openssh-server
package. - Start the
sshd
server. - Set the password for the
user
user. - Get the ip address.
- 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.