V
V
Voltin2019-01-19 22:02:37
SSH
Voltin, 2019-01-19 22:02:37

How to define a command when connecting to Github with ssh in bash?

I started to study git and ran into an unknown command that I can’t determine in any way:
$ ssh -T -i ~/.ssh/sshkey [email protected]
If I understand correctly, then -i ignores case, and what does -T do ?
Thanks in advance for the answer and, if possible, indicate where I should look for answers to such questions in the future, because apparently I didn’t search well, but I didn’t find any mention of -T.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2019-01-19
@Voltin

Connecting to hub.com with a git user authorization by key ~/.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.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question