ssh
ssh copied to clipboard
Connection refused
Hey guys im facing an odd issue and unsure if its related to this pack im using
Currently i have two symfony commands setup, the first command SSH' onto a server and runs some commands (that works fine) My second command do basically the same but just confirming the first one worked correctly, this also works
the issue im having is that from the point of the first command finishing and the second starting sometimes im getting a (ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused) if i sleep the code 45 seconds to a minute the connection goes across fine, is this due to the connection not being terminated ?
any ideas greatly appreciated Thanks!