Подключаешся к hub.com с пользователем git авторизация по ключу ~/.ssh/sshkey
https://www.opennet.ru/cgi-bin/opennet/man.cgi?top...
https://man.openbsd.org/ssh.1
-i identity_file
Selects a file from which the identity (private key) for public key authentication is read. The default is ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519 and ~/.ssh/id_rsa. Identity files may also be specified on a per-host basis in the configuration file. It is possible to have multiple -i options (and multiple identities
-T
Disable pseudo-terminal allocation.