SSH into a linux machine from a windows machine

I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it.

You can use putty to do this. The main thing you need to do is generate a key (using putty-keygen) on the windows box and install it on the host you will connect to. The key exchange will let you log in with no password.

this link might help:

Using putty with OpenSSH

You have to generate ssh keys on the local windows box. So windows has to have OpenSSH or some other commercial ssh product.

Copy the public key to each linux box. Then you can ssh to each linux box and execute a command on the linux box. Or simply login.

Another choice might be to download putty or plink to your Windows box. Yes, you can script a Windows batch file: .BAT to automate connecting.

i dont want to use a third party software for it

I don't think you have a choice. Windows doesn't have ssh by default that i am aware...

putty is free.

PuTTY Download Page