Unable to determine home directory for remote user

is it all on Mojave 10.14.1 or 10.14.2 ? getting the same in 4.21, tried building from 4.20 and getting permissions error on the ssh key, it’s described on the forums, but the fix doesn’t work.
Found an answer that states it works if you revert to 10.14.0 an there is an issue with later Mojave, unfortunately not a possibility for me.