but i kept getting error with ssh
"You don’t exist, go away!"
this is how i fixed it:
ln /etc/passwd /var/jail/etc/
ln /etc/group /var/jail/etc/
The key part now is you need both of these paths!
cp /usr/lib/linnss_* /var/jail/usr/lib/
cp /lib/libnss_* /var/jail/lib/
Then i got this error when i tried ssh again.
"PRNG is not seeded"
fixed it by running.
now i get "host key verification failed", so i had to run
mknod -m 666 /var/jail/dev/tty c 5 0
eef! an hour lost searching for an answer online. I hope this helps someone.