Disable SSH authentication


I'm running openssh-4.3p2.

I need to ability to run a command on trusted machine remotely. So far as I know, we can use two ways to login to remote machine:
1) Provide user name and password
2) Public key authentication
My question is that can we disable the SSH authentication so that we don't need to either provide user account or the public key? Does anyone has the idea? Thanks