Issue has been fixed here is script:
set password "*********"
spawn ./ssh-copy-id.sh -i /home/oracle/.ssh/id_rsa.pub...
because i have no permissions to install sshpass. But we already have expect installed. so it would be good to use that we already have
Im trying to write script wich will be send public ssh key to several hosts. And these actions should be executed without entering...
Separate names with a comma.