Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3D366361.5000906@onevision.de>
Date: Thu, 18 Jul 2002 08:42:41 +0200
From: Roland Schwingel <Roland.Schwingel@onevision.de>
Organization: OneVision Software AG
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530
X-Accept-Language: de-de, en-us, en
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: [Fwd: Problems with RSH & SSH]
Content-Type: multipart/mixed;
 boundary="------------020901030304040808060106"

--------------020901030304040808060106
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi...

A week ago I posted this and I played with it again for hours but with 
no result yet.
rsh still says it cannot find the homeaccount. And the SSH service still 
prefers to die
after executing one  command. I tried it on 3 different machines all 
with the same result.
Am I the only one having this problem? I also looked all over the 
malinglist archive but
did not find any clue where the problem may be.

Thanks again for all your help,

Roland


--------------020901030304040808060106
Content-Type: message/rfc822;
 name="Problems with RSH & SSH"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Problems with RSH & SSH"

From - Thu Jul 11 14:10:29 2002
X-Mozilla-Status2: 00800000
Message-ID: <3D2D75B5.9040703@onevision.de>
Date: Thu, 11 Jul 2002 14:10:29 +0200
From: Roland Schwingel <Roland.Schwingel@onevision.de>
Organization: OneVision Software AG
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.0.0) Gecko/20020530
X-Accept-Language: de-de, en-us, en
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: Problems with RSH & SSH
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi....

I played for a couple of hours to activate rsh/ssh on my cygwin. But I got
a couple of problems.

My system is running W2k SP2 with actual cygwin (see small list below).
My Homeaccount resides on a network drive served by a linux samba machine
and I am doing domain logons with an NT Server.

Versionnumbers of relevant packages installed:
cygrunsrv           0.95-1
cygwin              1.3.12-2
inetutils           1.3.2-18
openssh             3.4p1-4

I have setup inetd as I usally do it on a Unix box. inetd.conf and
hosts.equiv are set up correctly Telnet and FTP appear to work
correctly. Login is no problem with any user  I like. I can access
eg my Homeacount without problem. Really lovely.
But when doing a
rsh localhost ls
(or whatever I like to do no matter from the local machine or a
remotemachine) I get this:
oppenheim: No remote directory.
(oppenheim is the name of my host).

It seems to me it cannot find the Homedirectory.
Eventviewer shows:  roland@oppenheim as roland: no home directory.
cmd='ls'.
/var/log/inetd.log shows:
someone wants shell
accept, ctrl 3
+ Closing from 18
1092 execl /usr/sbin/in.rshd
1092 reaped, status 0x100

Where is the error?

How did I start inetd someone might ask:
mkpasswd -l -d >/etc/passwd
cygrunsrv -I inetd -d "inetd" -f "This service provides
ftp,telnet,rsh,rcp" -p /usr/sbin/inetd -a -d -e "CYGWIN=binmode ntsec tty"
cygrunsrv -S inetd

So I switched to ssh...
I installed everything like on a Unix box (keys, permissions etc) and
started it similar to inetd (see above)
It runs but only one time.When doing a
ssh localhost ls
(or any other command)
I get the correct result but afterwards the service (sshd) dies.

Any ideas? Thanks in advance..

Roland




--------------020901030304040808060106
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--------------020901030304040808060106--

