News for hackers. Stuff that matters.
Re:SSH Examples, Tips and Tunnels by codeape on Friday December 28, 2018 @05:41AM (#18776036)
Is the first "Using a Configuration File" example a bit misleading? The example is:

... 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?

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.
Re:SSH Examples, Tips and Tunnels by h1d on Friday December 28, 2018 @06:38AM (#18776208)
Also it's suggested to use ~/.ssh/key to specify a key in your home folder to be a portable config and don't really need to show others what your user name is if it gets shared.