When I use scp
to copy some files from a server, I've lately been getting the following warning:
$ scp -rC myserver.com:~/test.log .
client_input_hostkeys: received duplicated ssh-ed25519 host key
I tried googling what this means and how to fix it but couldn't figure anything out.
This is the scp
command I use for reference:
I get the error on MacOS 12 with both fish
and bash
shells.
I have a parallel ssh
session running to the same server, could that be why I'm getting the error?
The following files are in my .ssh
directory:
~/.ssh
❯ ls
config id_rsa id_rsa.pub known_hosts