easy-deploy-bundle
easy-deploy-bundle copied to clipboard
Use of a persistant SSH connection
Hey ;)
Would it be possible to use a persistent SSH connection? On a single deployment the bundel is using 22 ssh sessions.
Greetings, Florian
I'm getting ssh_dispatch_run_fatal: Connection to *** port 22: Operation timed out all the time. Several requests after 'release' directory gets created. What to do
In my case on the server, I had ssh connection rate limiting, which caused connect to *** port 22: Connection Refused.
So to reuse existing SSH connections I added this to my local ~/.ssh/config file:
Host name-of-my-server
ControlPath ~/.ssh/sockets/%r@%h:%p
ControlMaster auto
ControlPersist 10
Make sure to create the ~/.ssh/socket directory.
ufw and fail2ban banned my on my first deploys, how can this issue go forward ? I'm eager to help