ssh-copy-id has known problems with handling non-standard ports. For example if you try to connect with different port than 22 e.g. 1337. To overcome this issue, you should use a command like this:
ssh-copy-id “user@host -p 6842”
ssh-copy-id has known problems with handling non-standard ports. For example if you try to connect with different port than 22 e.g. 1337. To overcome this issue, you should use a command like this:
ssh-copy-id “user@host -p 6842”