Executing certain commands on different servers from one server only

hi

I wish to fire certain set of commands on different servers using single script on one of the server. The problem is that these servers only allow ssh session. telnet to these systems is blocked.

Is there any way i can do this as rsh does not works.

Regards
Rochit

ssh allows you to execute a command (or script) at the remote server, see:

ssh username@server your_script

Hi

I tried doing it. But it is prompting for password. Is it possible to remove this password prompt.

Create a public/private key pair using ssh-keygen, and distribute the public key as needed.

hi,

The problem with the system I am using is that it does not gives its security key. It has been restricted for enhancing security.

With Public Key Authentication the system doesn't need to give out any key. Instead, you put your Public Key on the server (in ~/.ssh/authorized_keys), and whenever you connect to it you authenticate yourself using your Private Key. This is even more secure than password authentication, since these key pairs are almost impossible to guess.

Even that is not possible..... I don't have write access to create ssh directory.
Isn't it possible to provide the password with in the script itself..... something like we have for ftp.

using Expect might solve your problem