Possible Duplicate:
Shell Script for logging into a ssh server
Autentification on SSH connection in OneLine
How could I make a SSH Login programmatically on a unix server, I don't have rights for generate public keys on the side server or extra-packages like expect. The client is a windows os, so I use putty to do the connections. Is there any way to use putty on my program or any java library for this?