Re: Peer closed connection with lftp to remote host
Posted by kumar on Dec 16, 2019; 10:17am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Peer-closed-connection-with-lftp-to-remote-host-tp7912p7919.html
Dear Erman,
Is port 22 mandatory to be opened in remote server while using sftp?Here we are using 1963 and this port is opened in remote server.But in logs,it is showing as connecting to port 22
[applprod@app01 ~]$ sftp -o PubkeyAuthentication=no -vvv ttderp@111.111.111.111:1963
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 111.111.111.111[111.111.111.111] port 22.
debug1: connect to address 111.111.111.111 port 22: Connection refused
ssh: connect to host 111.111.111.111 port 22: Connection refused
Couldn't read packet: Connection reset by peer
[applprod@app01 ~]$