Running command on Remote server

Hi,

I have username/password for a remote server. I would like to have list of filenames and their size in a particular directory of remote server.
Now Problem is - I can not use rsh command as I can not modify rhost file of remote server.

Thanks in advance.

Sanjay

You can use ssh with public/private keys to do this.