Nextcloudpi cant open ssh

So you have physical access to the device. Connect it to a monitor and test / create another user and test ssh again.
As well check if you followed all the reccmendations here: How to enable SSH using ncp-config or ncp-web