Dear All
I am facing a problem while using SSH with SCP command to copy large files between server 1 to server 2, the following error occurred.
[root@server1 folder1]# scp -rp * root@server2:/home/user2/
root@server2's password:
fileX.file 90% 2787MB 5.2MB/s 00:57 ETA
Read from remote host erpdb03: Connection reset by peer
lost connection
I configured /etc/ssh/sshd_config for source and destination servers as well.
ClientAliveInterval 60
TCPKeepAlive yes
ClientAliveCountMax 99999
still same problem.