Login  Register

Re: Peer closed connection with lftp to remote host

Posted by ErmanArslansOracleBlog on Dec 18, 2019; 3:09pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Peer-closed-connection-with-lftp-to-remote-host-tp7912p7948.html

I think your sftp  is not  configured properly.
In order to run sftp using a different port than the ssh port, there are thing to do..

It is inside your sshd_config.

Please check the internet, there are lots of articles available for that.
So your solution is in the sftp-server side, and it is in sshd_config.

For ex, here we have an article that might give you the clue->

https://www.thegeekdiary.com/how-to-configure-separate-port-for-ssh-and-sftp-on-centos-rhel/

ofcourse don't directly implement the things written in the document above. Customize it according to your situation and then implement.