easy-deploy-bundle icon indicating copy to clipboard operation
easy-deploy-bundle copied to clipboard

Use of a persistant SSH connection

Open frathe opened this issue 7 years ago • 3 comments

Hey ;)

Would it be possible to use a persistent SSH connection? On a single deployment the bundel is using 22 ssh sessions.

Greetings, Florian

frathe avatar Jul 22 '18 21:07 frathe

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

dachinat avatar Sep 06 '18 00:09 dachinat

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.

jwillp avatar Oct 06 '18 01:10 jwillp

ufw and fail2ban banned my on my first deploys, how can this issue go forward ? I'm eager to help

florentdestremau avatar Jan 25 '19 12:01 florentdestremau