Help for this page
$hosts ="host1 host2 host3" ... echo "*** copying key to $h ***" cat ~/.ssh/id_rsa.pub | ssh $h 'cat >>~/.authorized_hosts' done