Using ssh (and git via ssh) results in error: No user exists for uid 17342423423
ssh [email protected]"x86_64-linux"Linux 4.4.0-151-generic, Ubuntu, 16.04.6 LTS (Xenial Xerus)nononix-env (Nix) 2.2.2"nixpkgs-19.09pre185219.ed86bbad84c"/home/rafalh/.nix-defexpr/channels/nixpkgsI encountered this at work where the host operating system used SSSD for authentication. If I recall correctly I had to LD_PRELOAD a certain library. If you think this is your issue, I can come back with the solution on Monday.
Yeah, seems like this might be it.
I have in my ~/.bashrc:
export LD_PRELOAD=/lib/x86_64-linux-gnu/libnss_sss.so.2
This is it. Solved the problem. Thanks a lot.
Additional this fixes #64666
Most helpful comment
I have in my
~/.bashrc: