There is this line of code
Code:
cmd://"{APPDIR}\..\PuTTY file\putty.exe" -load "{TITLE}" -l {USERNAME} -pw {PASSWORD}
which you could put in a cmd file I guess.
What I do is use Keepass (if on MSWin) or keepassx on Linux and get it to login from the relevant acct, just by double clicking the acct entry.
You put the above line into the URL field iirc.
Alternatively, you may be thinking of ssh-keys
http://www.cyberciti.biz/faq/how-to-...on-linux-unix/