possible reason:
1 The user logged in with ssh does not have a shell configured
Corresponding solution:
1 Add /bin/bash at the end of the line corresponding to the user in the /etc/passwd file, save and exit, and log in with the user again
possible reason:
1 The user logged in with ssh does not have a shell configured
Corresponding solution:
1 Add /bin/bash at the end of the line corresponding to the user in the /etc/passwd file, save and exit, and log in with the user again