Edit **/etc/ssh/sshd_config** to **Enable PermitRootLogin** change *prohibit-password* to *yes* like bellow.
2020-06-22 09:16:32 +02:00
~~~{.shell}
#PermitRootLogin prohibit-password
PermitRootLogin yes
~~~
~~~
service ssh restart
~~~
2020-06-22 09:47:36 +02:00
find yout IP with : *ip a*
2020-06-22 09:16:32 +02:00
then connect remotely with : *ssh*
2020-06-22 09:47:36 +02:00
2020-06-22 09:59:17 +02:00
# update zsys-setup to enable zfs encyption on rpool
2020-06-22 09:16:32 +02:00
bpool remain unencrypt.
Search for “zpool create”, and make sure you have found the create command that has “rpool” on the last line.
Before the “zpool create” insert: echo MYPASSWORD |
Before the last line of the command insert these lines:
~~~{.cpp}
2020-06-22 09:43:02 +02:00
-O recordsize=1M \
-O encryption=aes-256-gcm \
-O keylocation=prompt \
-O keyformat=passphrase \
2020-06-22 09:56:32 +02:00
~~~
2020-06-22 09:58:01 +02:00
# swap
you may be interrested if you are on a laptop in : [add right fit swap for laptop hibernation during ubuntu 20.04 full ZFS install](add-right-fit-swap-for-laptop-hibernation-during-ubuntu-20.04-full-ZFS-install)
# start installation
Run ubiquity to start the installer and install as normal, selecting “Use entire disk” and the option to use ZFS.