There is no ssh-copy-id command on SunOS(Solaris, SmartOS).
How to do ssh-copy-id on/from SunOS(Solaris, SmartOS) to another server:
cat ~/.ssh/id_rsa.pub | ssh user@server "mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys"
How to do ssh-copy-id on/from SunOS(Solaris, SmartOS) to another server:
cat ~/.ssh/id_rsa.pub | ssh user@server "mkdir -p ~/.ssh; cat >> ~/.ssh/authorized_keys"