2 # an example of using the reg.exe tool on windows to find some things in
4 # this happens to look in the registry for PuTTY keys for a set of named
7 declare ip_array=(zorba-1 zorba-2 zorba-3 zorba-4 zorba-5)
9 for i in ${ip_array[*]}; do
11 echo "display is $target"
12 reg query 'HKCU\Software\SimonTatham\PuTTY\SshHostKeys' /v "rsa2@22:$target"