ssh or telent auto login
Dear Gurus,
I need a script(any script).
My requirement is like this
i have to login on to servers using ssh or telnet. and then run a script myscript with 2 paramets 1 is 6 digit number and one is Userid.
telnet or ssh server1
login: myid
password: mypassoword
$myscript 111111 userid1 ; myscript 11111 userid2
i have to do this on frequet basis on various servers
i want to automate this work using a script.
where the script can be a html or asp or normal perl script.
i have to paste only the servers , username and the ticket number.
the script shoul bale to excute the above commands on the servers.
Thanks in advance
Prashant
|