Richard G
Verified User
Often I transfer some file from one server to the others. Originating server can be different.
I use this command for example:
On all servers I use the same authorized_keys file to login via SSH, same port, same sshd_config file.
The connection being made to all servers except one is within 3-5 seconds.
However, the connection to 1 server is veeeeeerrrrrrryyyyy slooooooowwwww.... Connection setup from any server to that server often takes 30 seconds or more.
The transfer of the file or files is the same speed as from or to any other server.
The other way around, so from the problem server to any other server, the connection setup is very fast, even faster than some of the others.
So it's only the incoming rsync connection setup wich takes a lot of time. Any clue on what could be causing this?
I use this command for example:
rsync -avzHpWP -e 'ssh -p 12345' somefile.conf [email protected]:/somedir/
On all servers I use the same authorized_keys file to login via SSH, same port, same sshd_config file.
The connection being made to all servers except one is within 3-5 seconds.
However, the connection to 1 server is veeeeeerrrrrrryyyyy slooooooowwwww.... Connection setup from any server to that server often takes 30 seconds or more.
The transfer of the file or files is the same speed as from or to any other server.
The other way around, so from the problem server to any other server, the connection setup is very fast, even faster than some of the others.
So it's only the incoming rsync connection setup wich takes a lot of time. Any clue on what could be causing this?