AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  ssh lost connection while transferring data

    Posted Tue December 18, 2012 01:37 AM

    Originally posted by: tucero


    Hello,

    I have two AIX6.1 machines and i want to synchronize some data through rsync.
    The weird thing is that while the data transfer is in process, suddenly it loses the connection and stops.
    This is the error that i get:

    ssh: connect to host <server_name> port 22: Connection timed out
    rsync: connection unexpectedly closed (0 bytes read so far)
    rsync error: error in rsync protocol data stream (code 12) at io.c(342)
    FAILURE <file_name> at SERVER <server_name>

    Any idea why this is happening?

    Regards,
    Stavros Tseriotis
    #AIX-Forum


  • 2.  Re: ssh lost connection while transferring data

    Posted Tue December 18, 2012 07:06 AM

    Originally posted by: SystemAdmin


    How large is the file?

    What are your ulimit settings?
    #AIX-Forum


  • 3.  Re: ssh lost connection while transferring data

    Posted Wed December 19, 2012 01:00 AM

    Originally posted by: tucero


    im not aware of the ulimits but i dont think that this is the reason.
    the files are not even 1MB and also i tried to synchronize bigger files and it worked before.
    the problem is happening when i send a lot of files and while it transfer some of them someway in the middle loses the connection and fails to send the rest of them
    #AIX-Forum