I am trying to connect to my SSH server with a customized sshd_config
file.
But when I try to connect, it gives the following error:
./bash: No such file or directory
And I copied bash to their directory including /bin
, /lib64
and /lib
.
These are the lines I added to sshd_config:
Match User cooluser
ChrootDirectory /home/cooluser
The /home/cooluser directory also exists.