Ssh test from remote server to GitHub hangs

Hi All,

I have a cloned repository on a remote server that I access via SSH. Until now I have been authorising git actions for this repository with my git username and password, but of course this mode of access is being deprecated.

Today I created a public-private key pair on the remote server (Ubuntu 18.04-LTS) (following the GitHub docs) and then tried to test it as recommended here.

My test attempts keep hanging:

# ssh -Tvvvv
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n  7 Dec 2017
debug1: Reading configuration data /root/.ssh/config
debug1: /root/.ssh/config line 3: Applying options for *
debug1: /root/.ssh/config line 10: Applying options for
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to [] port 22.

As can be seen from the above, I have a ~/.ssh/config file in place, but I was having exactly the same problem with no config file.


Rob Hills
Waikiki, Western Australia

That looks kind of like something is blocking SSH. Is there a possibility there might be an overeager firewall configuration or something like that?