I don't see where you need SSH. Also, I double-checked all the modules, and they work. Why not look at it another way, and, instead of using the example, try to write a script on your own? If you run into problems, post again. Nothing ventured, nothing gained.