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”

By zam

Related Post

Any Comments?

This site uses Akismet to reduce spam. Learn how your comment data is processed.