Ethan Mallove writes:
> I have a Solaris 10 machine that I am able to sudo RSH to. I am not able to 
> do the same on my OpenSolaris machine (due to a "Connection refused" error), 
> even though it looks like my sshd_config, ssh_config, and .rhosts files are 
> the same on both machines. I notice OpenSolaris uses Sun_SSH_1.2, whereas 
> Solaris 10 has Sun_SSH_1.1. Is that the cause of the different behavior?

Ssh and rsh aren't related to each other.  Which one are you asking
about?

Assuming it's rsh, the reason you're getting "connection refused" is
that the service is disabled by default.  Do this, and it should work
better:

        svcadm enable svc:/network/shell:default
        svcadm enable svc:/network/login:rlogin

Note that 'rsh' is (in a sense) two different protocols.  When you
issue "rsh hostname" from the command line, it actually runs rlogin
instead -- which is that second service listed above.  The true RSH
protocol runs only when you provide a remote command to run ("rsh
hostname ls").

I wouldn't recommend doing this -- these old protocols are not secure
at all -- but if you're sure it's what you want anyway ...

If you're actually talking about ssh, then after changing the
configuration files, you have to restart the service.  Did you do
that?

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to