Run command on sc via ssh

when i run a command on ALOM via ssh i get following error

ssh root@10.23.12.51 showhosts
Password:
Waiting for daemons to initialize...

Daemons ready
shell: Invalid credentials



how can i run commands without actually loging to the sc

Hello, invalid command.
Not showhosts. Its showhost

 ssh root@10.23.12.51 showhost
Password:
Waiting for daemons to initialize...

Daemons ready
shell: Invalid credentials

esstldu21$ ssh root@10.23.12.51 environment
Password:
Waiting for daemons to initialize...

Daemons ready
shell: Invalid credentials



And if i try to login from same server to sc it logs in ok

ssh root@10.23.12.51 environment
Password:
Waiting for daemons to initialize...

Daemons ready
shell: Invalid credentials


esstldu21$ ssh root@10.23.12.51
Password:
Waiting for daemons to initialize...

Daemons ready

Sun(TM) Integrated Lights Out Manager

Version 3.0.2.50

Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

Warning: password is set to factory default.

wrong command again.... showenvironment