If you are trying to login using root user, it is not possible. It will give following error.
Code:
Response: 530 Permission denied.
Error: Could not connect to server
Root user can be connected using sftp.
But if you are trying to connect using normal user which you made during installation or adduser command. It should be logged in.
But if your SElinux is enabled, it does not give login incorrect error. Generally it gives following error.
Code:
"500 oops cannot change directory /home/user in ftp"
can you tell me your linux distribution and version like are you using centOS or ubuntu or fedora?
If you are trying to login using regular user and you have set above parameter. It should log in.
There should not be repeat parameter in the file. Linux will read above one.
Example - You have pasted these parameters at bottom of the page in conf file. It will not work.
You have to search the parameter in the conf file and set the according to above comment.