I've just set up OpenSSH on my system (Ubuntu 18.04 LTS), and generated the key using ssh-keygen
. When prompted for password, I set it to just one character to test, but when I try to copy the public key onto the server, it keeps saying:
ssh-copy-id user@ip
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
user@ip's password:
Permission denied, please try again.
user@ip's password:
Permission denied, please try again.
user@ip's password:
user@ip's: Permission denied (publickey,password).
The ip above was obtained from ipchicken. Port forwarding on 22 is turned on in my router, but another device is also configured to that. I have a static IP with different devices configured to it. Is it possible that this is interfering with my connection? If not, how do I resolve this issue?