useradd -m -d /usr/local/data/ftp/abc abc 新建SFTP用户
usermod -g sftpgroup -G sftpgroup abc 将abc加入到sftpgroup组
Received disconnect from 192.168.10.2 port 22:2: Too many authentication failures Disconnected from 192.168.10.2 port 22 Connection closed. Connection closed
看报错信息就是直接就连不了
查看该用户是否允许远程登录,vi /etc/ssh/sshd_config在此处加上该用户的名字,重启SSH即可