Freigeben über


RSH client (of SUA) fails to connect to Solaris 10 RSH server

Recently we worked on an incident where we trying to execute a command using RSH from Solaris client.

For example:  ‘rsh <server IP> whoami’

The RSH server was x64 AMD Win 7 box Domain controller. Running the rsh command gave the following error error message “ Login incorrect’.

During testing we also got another error message "select: protocol failure in circuit setup".

We checked the .rhosts file and everything seems to be fine. We also checked the hosts file and the entries were looking good. The same set up was working on Windows 7 x32 bit machine.

Reseaching more into the issue we found that on domain controllers we can give a option -D with the rsh command. The -D option prefixes both the remote and local user names with the user's Windows domain name. So we ran the rsh command with a -D parameter.

For example: rsh -D -l <username> hostname command

Running rsh with -D option resolved the issue