

Go to Settings (the gear icon in the bottom-left of the page). Passwd: $6$yO/Yf/zQbbIXlaHN$cA/i6a6.Cp7cnHl9HEhSPyVLtsitWs3oe/2NARVCKAn54LU2kT92/vqzpeSP3N87SGFkSHGBe7uQxshZXTbL. Change Ubiquiti Access Point SSH Username, Password, and Keys Log into the UniFi controller. cidata.iso -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5555-:22 -nographicĪnother example: rm -f vm_0001-focal-server-cloudimg-amd64.qcow2 # configure sshd to allow users logging in using password Qemu-img info vm_0001-focal-server-cloudimg-amd64.qcow2 Qemu-img create -f qcow2 -F qcow2 -b focal-server-cloudimg-amd64.img vm_0001-focal-server-cloudimg-amd64.qcow2 20G If your image is:focal-server-cloudimg-amd64.img rm -f vm_0001-focal-server-cloudimg-amd64.qcow2 It's insanely insecure with password ssh and no password root, but hey. I'm not entirely sure whether refresh-installer is required (I don't think so). It creates a user with name kim and password possible. ssh-rsa ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCbJ7oF5RXUj6R1ewF15X2i6RieWFmVUkOyT0DwzgfI8fRl5mMMSRlDRYQi3NznwcWDAxLApF82FomNv8vk1V2SXDGGs8XpOvtgAPpR3JUKJGmxoiES7rxa7bq/JSmpGprsnlCocTJnOfDz6Gz2Ge4+D84EZHOW7ejbkWDBdXOYYRMIlRSoXBkb0017G/OIvPNdwZRYLzLJYjGGL08GX+/Da+lrbz8/FaewXwb/BfjRYESOG+aJNTCOQfgzNsFGJ6EslsMc1bDtCq2pvWUenlUo/2BEAICiJxmXZkAjDrIYcyTzHLE14+UfCiC6pbMEdXF2ndUARr0HcNpvJz8K0Mg4CfjRpxaopfPfHp/lMR36ys0r4bT3q9iU4ClnUAeWxbCK7pUN+D/6TVrIKLOLuuIph81sb5+jW23ycg0fjQ/2/ttKQvTzHwomN6B6T/KgXVt367Iq+uzN02wtk282pJOIIqVi3PSHVcJl1I+bFAzeEdmJP29d/wnp0ZyuNYDp0P8= 1 You can also create a user with sudo privileges on the VM from this menu. Specify the username and an SSH key or new password, then select Update. Passwd: "$6$kW4vfBM9kGgq4hr$6ml1fh/fZEVIgKbSXI9L1B6xF." Reset SSH credentials for a user To reset the credentials of an existing user, select either Reset SSH public key or Reset password in the Mode section as in the preceding screenshot.

I've finally found a working config that creates a usable account users: A better documentation of what type of hash is expected. rm -f vm0001-focal-server-cloudimg-amd64.qcow2 qemu-img create -f qcow2 -F qcow2 -b focal-server-cloudimg-amd64.img vm0001-focal-server-cloudimg-amd64.qcow2 20G qemu-img info vm0001-focal-server-cloudimg-amd64.qcow2 cat >user-data I've also tried setting up a users block like this: Password: "$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8w圎D22bTL4F46P0" The following config with it's supplied password, or the above #cloud-config # echo possible | mkpasswd -m sha-512 -s The default ubuntu:ubuntu is also unavailable. I've tried setting a custom username too. What I've tried is creating my own password using echo possible | mkpasswd -m sha-512 -s and by copying the example found on the quickstart page: What it doesn't tell me is why I'm not allowed to log on. Recently I've gotten Cloud-Init to work by mounting my config in an image.
