My server was previously running RHEL, with password logins disabled and pki authentication required. I replaced it with FreeBSD 11.0 on Monday, and today I was going to go ahead and take care of setting that up with the new OS.
I had previously logged in with a password under the default settings, and I was going to just reuse the same keys from RHEL, but when I ran ssh-copy-id on my Fedora laptop, I was surprised to see that it told me that the keys were already present on the remote system. I tested this out and sure enough, I'm able to log in just with pki.
So what happened here? How did my keys get pushed from my Linux laptop to my FreeBSD server without my telling it to do so? Is this just something that the SSH client did on its own?
I had previously logged in with a password under the default settings, and I was going to just reuse the same keys from RHEL, but when I ran ssh-copy-id on my Fedora laptop, I was surprised to see that it told me that the keys were already present on the remote system. I tested this out and sure enough, I'm able to log in just with pki.
So what happened here? How did my keys get pushed from my Linux laptop to my FreeBSD server without my telling it to do so? Is this just something that the SSH client did on its own?