SFTP (Filezilla) was working normally until I changed the password.
After that it would only allow me to log in and view but not upload/download.
Initially I thought it was a permissions issue and then a PAM/UID error.
I still do not know the cause but the fix was to change the number of simultaneous connections.
Here are the the logs:
Code: Select all
#Log in
Apr 26 16:48:24 server sshd[40733]: Accepted password for root from 88.88.888.88 port 52771 ssh2
Apr 26 16:48:24 server sshd[40733]: pam_unix(sshd:session): session opened for user root by (uid=0)
#Failed Upload
Apr 26 16:49:02 server sshd[40974]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=88.88.888.88 user=root
Apr 26 16:49:02 server sshd[40974]: pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user "root"
Apr 26 16:49:05 server sshd[40974]: Failed password for root from 88.88.888.88 port 52783 ssh2
Apr 26 16:49:05 server sshd[40974]: error: Received disconnect from 88.88.888.88 port 52783:13: Unable to authenticate [preauth]
Apr 26 16:49:05 server sshd[40974]: Disconnected from 88.88.888.88 port 52783 [preauth]
#Successful Uploading file after simultaneous connections set to 1
Apr 26 17:40:30 server sshd[50128]: pam_unix(sshd:session): session closed for user root
Apr 26 17:40:31 server sshd[50370]: Accepted password for root from 88.88.888.88 port 54606 ssh2
Apr 26 17:40:31 server sshd[50370]: pam_unix(sshd:session): session opened for user root by (uid=0)
Hopefully this saves someone the hours I wasted.