What should be the value of the -i
option when login in using ssh?
I had previously supplied the public key ssh -i ~/.ssh/id_rsa.pub
on an OpenBSD machine that worked but when trying to ssh
into an Ubuntu machine I had to specify the location to my private key i.e ssh -i ~/.ssh/id_rsa
to get in.
From reading the man page for ssh it says it should be the location of private key but then how come it worked previously on my BSD machine with only the public key?