key based authentication ubuntu 20.04 code example Example: ubuntu 20.04 ssh keygen ssh-keygen -t rsa -b 4096 -C "[email protected]"