X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0	tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FILL_THIS_FORM_FRAUD_PHISH,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,T_FILL_THIS_FORM_SHORT
X-Spam-Check-By: sourceware.org
Message-ID: <1338279669.67166.YahooMailClassic@web28602.mail.ukl.yahoo.com>
Date: Tue, 29 May 2012 09:21:09 +0100 (BST)
From: Marilo <narium85-mlscar@yahoo.co.uk>
Reply-To: narium85-mlscar@yahoo.co.uk
Subject: problem with rexec
To: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4T8M6Nw026576

I know ssh is more secure, but I am interested in rsh/rlogin/rexec.. so i'm just trying it locally on my own few computers, just for the sake of knowing them.

rexec is working fine for me locally


$ rexec 127.0.0.1 ls
Password:
_vimrc
_vimrc
a.a
a.ag
a.b

$ rexec -l user 127.0.0.1 ls
Password:
_vimrc
_vimrc
a.a
a.ag
a.b

But when I try it from another machine, it crashes after prompting for the Password.


nmap from another machine shows
512/tcp open  exec
MAC Address: 00:0B:11:36:25:27 (Matsushita Electric Industrial Co.)

So the port is open. and rexec can run there as I ran it locally.

But when I try 

It doesn't get past the password stage.
$rexec -l user 192.168.56.42 ls
Password:


It gives no error it just waits forever  after prompting for a password I until I do ctrl-c








--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


