Appendix D. Random Bits D.4.6. Set up the Boot Loader D.4.7. Remote access: Installing SSH and setting up access D.4.8. Finishing touches To make your Ubuntu system bootable, set up your boot loader to load the installed kernel with your new root partition. Note that debootstrap does not install a boot loader, though you can use apt inside your Ubuntu chroot to do so. Note that this assumes that a /dev/sda device file has been created. There are alternative methods to install grub2 , but those are outside the scope of this appendix. In case you can login to the system via console, you can skip this section. If the system should be accessible via the network later on, you need to install SSH and set up access. # apt install openssh-server Root login with password is disabled by default, so setting up access can be done by setting a password and re-enable root login with password: # passwd # editor /etc/ssh/sshd_config This is the option to be enabled: PermitRootLogin yes Access can also be set up by adding an ssh key to the root account: Lastly, access can be set up by adding a non-root user and setting a password: # adduser joe # passwd joe As mentioned earlier, the installed system will be very basic. If you would like to make the system a bit more mature, there is an easy method to install all packages with “standard” priority: # apt install tasksel # tasksel install standard Of course, you can also just use apt to install packages individually. 118 # mkdir /root/.ssh # cat << EOF > /root/.ssh/authorized_keys ssh-rsa .... EOF