delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/29/04:22:10

X-Recipient: archive-cygwin AT delorie DOT 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 AT yahoo DOT co DOT uk>
Reply-To: narium85-mlscar AT yahoo DOT co DOT uk
Subject: problem with rexec
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019