ramangrover29@gmail.com | 0d05818 | 2013-04-10 02:35:46 +0000 | [diff] [blame] | 1 | USERNAME=$1 |
2 | shift 1 | ||||
3 | numargs=$# | ||||
ramangrover29@gmail.com | 0330688 | 2013-04-12 17:09:45 +0000 | [diff] [blame] | 4 | for ((i=1 ; i <= numargs ; i=i+1)) |
ramangrover29@gmail.com | 0d05818 | 2013-04-10 02:35:46 +0000 | [diff] [blame] | 5 | do |
6 | host=$1 | ||||
7 | ssh -l $USERNAME -oNumberOfPasswordPrompts=0 $host "echo $host" | ||||
8 | shift 1 | ||||
9 | done |