passwordless ssh

My main concern is, i have to login into 300 linux server and all are having same userid and password. I dont want to create any key for each server to login .

Is there a way to run the shell script ?

Here's a perl script to automatically populate authorized_keys on a remote host. Just delete the _getpass subroutine and replace _GetPass($host, $usr) with "mypassword" Thereafter you'll be able to login to hosts with no passwords or expect nonsense.

Look
expect command

What shell script are you talking about? A shell script to log in for you? Or do you want to run a shell script on each server?