Consecutive scp commands sometimes fail with ssh_exchange_identification: read: Connection reset by peer

Published: 8/11/2019
Consecutive scp commands sometimes fail with ssh_exchange_identification: read: Connection reset by peer
Source: UNIX.STACKEXCHANGE.COM

I use a script to copy multiple files from a linux box like so (pseudo code only) for file in FILES; do scp -i <key> ...; sleep 1; done It will copy several dozens of files, sleeping 1 seconds after each download. When I run it, some files get downloaded but some others return this error ssh_exchange_identification: read: Connection reset by peer . I don't know if there's any sort of limit

Read more
Related news
Comment
FACEBOOK