Question
This website (https://kb.iu.edu/d/aews) says “On the SSH command line: Add the -i flag and the path to your private key.”
When running an SSH command, you do not think that the client’s private key would not come into play. You think that the public key would be used. The man page for SSH says
-i identity_file
Selects a file from which the identity (private key) for public key authentication is read
…
ssh will also try to load certificate information from the filename obtained by appending -cert.pub to identity filenames.
…
Continue reading “Is a Private Key on a Linux Client Used in SSH Authentication to a Remote Server?”