Re:SSH Examples, Tips and Tunnels
by licebmi__at__ on Friday December 28, 2018 @06:58AM
(#18776271)
Unless you're using something like a smart card as identity with gpg-agent, then you won't have a private key file. Because of that, you can specify a public key file to identify this private key.
... Host remoteserver HostName remoteserver.thematrix.io User neo Port 2112 IdentityFile /home/test/.ssh/remoteserver.pub
IdentityFile typically (always?) specifies a file with a private key, right?