Hi, I’m having the same issue. I tried following the SSH troubleshooting tips, but as far as I can tell, there’s no problem with my ssh configuration.
I can verify that my ssh key works with github:
$ ssh -i /Users/bergs/.ssh/id_rsa git@github.com
PTY allocation request failed on channel 0
Hi stuarteberg! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
But I can’t use the same key to log into the CI machine:
$ ssh -vvv -i /Users/bergs/.ssh/id_rsa -p 64602 ubuntu@23.20.225.205
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: resolving "23.20.225.205" port 64602
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 23.20.225.205 [23.20.225.205] port 64602.
debug1: connect to address 23.20.225.205 port 64602: Connection refused
ssh: connect to host 23.20.225.205 port 64602: Connection refused
SSH has worked fine for me in the past. I’ve probably used it a once or twice a month for the last six months on failed Circle 2.0 builds. Are you waiting for your build to complete before attempting the connection?