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.
My test attempts keep hanging:
# ssh -Tvvvv firstname.lastname@example.org 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 github.com debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: resolving "github.com" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to github.com [184.108.40.206] 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.
Waikiki, Western Australia