From: Keshav on
Hi,
I m trying to execute some command on my Solaris 10 box from Windows
machine. But i m getting the message


rsh {servername} -l username comamnd
{Servername}: permission denied
rsh: can't establish connection


I have done changes in /etc/hosts and /.rhosts but still i m not able
to connect.
all these services are enabled.
svcadm enable svc:/network/login:rlogin
svcadm enable svc:/network/shell:default
svcadm enable svc:/network/login:rlogin

ssh is working but it is asking for password on each attempt of
execution of command.
May be this problem due to since in Solaris 10 inetd.conf is useless
and all the services are controlled by svcadm or inetadm.
Please let me know how can i overcome this problem.

From: gerryt@ on

Keshav wrote:
> I m trying to execute some command on my Solaris 10 box from Windows
> machine. But i m getting the message
> rsh {servername} -l username comamnd
> {Servername}: permission denied
> rsh: can't establish connection
> I have done changes in /etc/hosts and /.rhosts but still i m not able
> to connect.
> all these services are enabled.
> svcadm enable svc:/network/login:rlogin
> svcadm enable svc:/network/shell:default
> svcadm enable svc:/network/login:rlogin
> ssh is working but it is asking for password on each attempt of
> execution of command.
> May be this problem due to since in Solaris 10 inetd.conf is useless
> and all the services are controlled by svcadm or inetadm.
> Please let me know how can i overcome this problem.

You overcome it by using freeware ssh clients from either
ssh.com or PuTTY from ... (Google for it). I think TeraTerm
is good too. The time for rsh has long past.

From: Anonymous on
Keshav wrote:
> Hi,
> I m trying to execute some command on my Solaris 10 box from Windows
> machine. But i m getting the message
>
>
> rsh {servername} -l username comamnd
> {Servername}: permission denied
> rsh: can't establish connection
>
>
> I have done changes in /etc/hosts and /.rhosts but still i m not able
> to connect.
> all these services are enabled.
> svcadm enable svc:/network/login:rlogin
> svcadm enable svc:/network/shell:default
> svcadm enable svc:/network/login:rlogin
>
> ssh is working but it is asking for password on each attempt of
> execution of command.
> May be this problem due to since in Solaris 10 inetd.conf is useless
> and all the services are controlled by svcadm or inetadm.
> Please let me know how can i overcome this problem.
>
(1)
You can use ssh in place of rsh for remote host command execution, like
this:
$ ssh user(a)remotehost command
example:
$ ssh user(a)192.168.0.2 ls -al
This will list your home directory on 192.168.0.2, but it will ask you
for a password.

(2)
For passwordless operation, you need to generate keys and set them up to
be "authorized keys" on the target host. Let's say I'm coming from
192.168.0.1, then I generate keys on 192.168.0.1. Then I copy the keys
from 192.168.0.1 to 192.168.0.2 and stick them in my
$HOME/.ssh/authorized_keys file on 192.168.0.2. When I run the same
command (ssh user(a)192.168.0.2 ls -al) on 192.168.0.1, it won't ask me
for a password anymore.

For exact instructions on how to generate keys, google "passwordless
ssh" and follow the links...

HTH
From: Keshav on
Hello,
I m giving remote command from Windows machine and ssh is not enabled
on windows machine.
I would like to use rsh only(security is not a concern for this right
now). But i m not able to do by any of the solutions i have got.

From: Mike Ingram on

"Keshav" <gupta.keshav(a)gmail.com> wrote in message
news:1145955456.873284.103900(a)u72g2000cwu.googlegroups.com...
> Hello,
> I m giving remote command from Windows machine and ssh is not enabled
> on windows machine.
> I would like to use rsh only(security is not a concern for this right
> now). But i m not able to do by any of the solutions i have got.
>

I use cygwin or openssh - both free downloads off the Internet.
See http://www.cygwin.com or http://www.openssh.com/


 |  Next  |  Last
Pages: 1 2 3
Prev: starting mysql
Next: Help: Cannot boot from CD