add iterating ssh and md5sum logic