Wednesday 21 September 2016

The server rejected SFTP connection, but it listens for FTP

The server rejected SFTP connection, but it listens for FTP

This issue have made me mad. I have check all the way to find the solution but no one gives the perfect solution for this. Finally i have found the solution and cause of this issue. Below i have mentioned clearly.

Cause of this issue is limitation of session. For this you have to remove the session or increase the session. For me I can't remove running session so i have done increasing the session. Below i have mentioned the steps.

the location of session limit is /etc/security/limits.d/20-nproc.conf

in this root have unlimited soft session. we can assign or increase the user session limit on this session.

No comments:

Post a Comment

Permanent hostname setup for RHEL7

Step 1 Set the host name on NMTUI tool like following nmtui set host name   then save and exit Step 2 add the following l...