putty host1 -l root -pw
I use it to the server which are build frequently. The problem with the server built frequently is that you cannot exchange keys as the keys will be deleted when the server is built again.
Here is the batch script for windows lover
@echo off
if %1 == myserver goto myserver
goto default
:myserver
start C:\putty -ssh mercury -l
exit
:default
start C:\putty -ssh %1 -l root -pw
exit