Iam trying to ssh from macOS into Kali Linux. Both devices are on the same subnet, connected by a home router.
I initiated the ssh service on the device running Kali and set up /etc/ssh/sshd_config to use a password on login. (I set PasswordAuthentication yes and ChrootDirectory /home/remote in /etc/ssh/sshd_config)
Running the following command on the Mac ssh email@example.com logs me in and disconnects after issuing the following error /bin/bash No such file or directory
I can confirm that /bin/bash does exist’s and is listed in /etc/shells.
Error logs from /var/log/auth.log points to this error /dev/pts/zsh No Such file or directory
I have been told this might be a install issue, I have already tried reinstalling, It doesn’t work.
Can someone help me figure this out.