sftp指定ChrootDirectory后 普通用户无法登陆shell

openeluer sftp指定ChrootDirectory后,普通用户无法登陆shell
具体报错(/var/log/message)
Feb 26 13:50:58 localhost sshd[707072]: Accepted password for sysadmin from 192.168.52.92 port 51512 ssh2
Feb 26 13:50:58 localhost sshd[707072]: error: /dev/pts/4: No such file or directory [postauth]
Feb 26 13:50:58 localhost sshd[707072]: error: open /dev/tty failed - could not set controlling tty: No such file or directory [postauth]
Feb 26 13:50:58 localhost sshd[707072]: error: Received disconnect from 192.168.52.92 port 51512:0: [postauth]
Feb 26 13:50:58 localhost sshd[707072]: Disconnected from user sysadmin 192.168.52.92 port 51512 [postauth]

SSH配置文件:
Protocol 2
UsePAM yes
PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
PasswordAuthentication yes
IgnoreRhosts yes
PermitEmptyPasswords no
PermitUserEnvironment no
StrictModes yes
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com
MACs hmac-sha2-512,hmac-sha2-512-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com
HostKeyAlgorithms ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-512

#SFTP Config
Subsystem sftp internal-sftp

Match User sysadmin
ChrootDirectory /flash
ForceCommand internal-sftp
PasswordAuthentication yes
AllowAgentForwarding no
AllowTcpForwarding no
X11Forwarding no
PermitTunnel no

登陆提示:
/bin/bash: No such file or directory
Connection closing…Socket close.