problem with rsh in bash shell

Hello All,

I am trying to gather output of df -k from remote server to local server using below line:

rsh <host>  df -k >/tmp/space_remote_host.txt

Why above throws following error message:(I've deleted the IP address in below chunk)

connect to address ..: Connection refused
Trying krb4 rsh...
connect to address ....: Connection refused
trying normal rsh (/usr/bin/rsh)
exec: No such file or directory

Does your normal interactive login work?

On some systems, rsh is a "remote" shell; on other systems, rsh is a "restricted" shell. It looks like krb4 rsh is a remote shell and /usr/bin/rsh is a restricted shell on this system. Check the rsh(1) and sh(1) on your system to determine what the pathnames are to the remote shell(s) on your system.

The connection refused diagnostics from the remote shell means that the requested remote system decided that you (your user ID, or anyone on your system) will not be allowed to run applications on that remote system.