I only have a new user's public key new_id.pub but not its private key and would like to copy the public key to the server.
ssh-copy-id -i ~/.ssh/new_id.pub <user>@<ip>
/usr/bin/ssh-copy-id: ERROR: failed to open ID file '/Users/<user>/.ssh/new_id': No such file or directory
(to install the contents of '/Users/<user>/.ssh/new_id.pub' anyway, look at the -f option)
I only have a new user's public key
new_id.pub
but not its private key and would like to copy the public key to the server.