Start openssh-server in a Debian Live CD
How to start an openssh-server in my booted Live CD environment.
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-serverpackage. - Start the
sshdserver. - Set the password for the
useruser. - 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.