for host in host1 host2 host3 host4 do scp $host:/etc/vx/elm/*.lic /home/user/admin/keys done