We have a 'staging' pipeline step that takes an artefact from a previous step, scp's it to our staging server and then runs a remote script via ssh to unpack it and configure it for staging. The tgz file being scp'd is about 40mb is size.
Sometimes (rarely) the scp takes about 3 seconds. Most usually it is taking over 10 minutes. Does anyone have any thoughts on why or had similar experiences?