#!/bin/bash while read ip do ./key.sh saasadmin1234 ${ip} done < ip_list