I have a windows laptop and have a virtual Ubuntu 24.06 version.I am trying to connect to the ubuntu virtual machine with ssh from the windows host OS.I get an error like "/bin/bash: no file or directory".I did enter the right username and password in putty, selected port 22.The user I used to through ssh is a user i previously used for connecting with SFTP.It is possible to do so,right?I suspect the sshd_config file in /etc/ssh.How to fix this?
I commented the line(in sshd_config) that allows SFTP,and changed the Chroot from /home to /home/sftp_user(username),changed Match group to Match user.