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?
I don't use Putty, but rather Kitty, and there is a setting to save your password under connection -> data -> auto-login password. Putty doesn't seem to have that option.
While you could save your creds with another tool I would talk to your sysadmin and ask for pk auth first. If you are doing something legitimately they will appreciate you bringing this up with them instead of going around the system with saved creds or an autoit script, etc. I would think they would at least point you in the right direction.