I have dedicated server with Ubuntu Server 16.04 + VestaCP. SSH access works perfectly, but SFTP has broken down. I do not know when it broke, but before that everything worked as expected.
When i connect to sftp from local mashine, it is works:
Mar 6 13:52:37 local sftp-server[2120]: session opened for local user user1 from [10.10.80.120]
Mar 6 13:52:37 local sftp-server[2120]: received client version 3
Mar 6 13:52:37 local sftp-server[2120]: debug3: request 1: realpath
Mar 6 13:52:37 local sftp-server[2120]: realpath "."
Mar 6 13:52:37 local sftp-server[2120]: debug1: request 1: sent names count 1
When i try to do it from remote host, i get 1 line:
Mar 6 19:34:06 server sftp-server[3545]: session opened for local user root from [xxx.xxx.xxx.xxx]
Nothing happens and connection down by timeout. I do not get any errors and can not determine the cause of this problem.
I have default settings in /etc/ssh/sshd_config:
Subsystem sftp /usr/lib/openssh/sftp-server -l debug3
I dont want replace it to internal-sftp. This should work without changes,because it worked before.