How can I make ssh-copy-id use a port other than 22?
I tried it with -p but I get:
ssh-copy-id -p XXX [email protected]
Bad port 'umask 077; test -d ~/.ssh || mkdir ~/.ssh ; cat >> ~/.ssh/authorized_keys'
I know that the port is good because I'm connected to the server on that port.