On Mon, Nov/03/2008 03:11:14PM, James Carlson wrote: > 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 >
Thanks! I can now RSH. > 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 ... > RSH will suffice for our lab environment. > If you're actually talking about ssh, then after changing the > configuration files, you have to restart the service. Did you do > that? > So for the new SSH config files to take effect, would I do this? # svcadm restart svc:/network/ssh:default -Ethan > -- > 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