delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/05/11:14:38

X-Spam-Check-By: sourceware.org
X-Authenticated: #17697530
From: Alfred Egger <alfred DOT egger AT gmx DOT at>
To: cygwin AT cygwin DOT com
Subject: Re: Using sshd on Windows 98
Date: Sun, 5 Aug 2007 17:13:21 +0200
User-Agent: KMail/1.9.1
References: <1c56360b0707181524g7201f423jc418b132907fdec3 AT mail DOT gmail DOT com>
In-Reply-To: <1c56360b0707181524g7201f423jc418b132907fdec3@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <200708051713.21876.alfred.egger@gmx.at>
X-Y-GMX-Trusted: 0
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

Hello again,

thanks for your answer. I am sorry, but I didn't find the thread, that 
includes the solution.
The only thing I had to do was to make a password hash using crypt:

> crypt yourpassword

Then I had to insert it into the /etc/passwd file instead of "use_crypt". Now 
I can login into Windows 98 using sshd. Indeed, as someone said it already, 
it is like using a security lock to close off a balsa wood door...

Regards

Alfred Egger

> Hello,
>
> is it possible to use a Cygwin sshd on Windows 98 First Edition? The
> machine is only used inside a abstracted network, but it is needed for
> a special software, and we need SSH access to the machine.
>
> I already set up a Cygwin environment and configured it with these options:
>
> Set Cygwin variable:
>
> set CYGWIN=tty
> set path=C:\cygwin\bin
>
> ssh-host-config -y
>
> mkpasswd -l -g > /etc/passwd
>
> Contents of file:
>
> admin:use_crypt:500:544:Administrator:/home/admin:/bin/bash
> Administrator:use_crypt:895:544:Administrator:/home/Administrator:/bin/bash
>
> mkgroup -l > /etc/group
>
> Contents of file:
>
> all::544:
>
> cd /
> chmod -R og-w .
> chmod og+w /tmp
> touch /var/log/sshd.log
> chown system:system /var/log/sshd.log /var/empty /etc/ssh_h*
> chmod 755 /var/empty
>
> Afterwards I started sshd.exe manually inside the /usr/sbin/ directory.
>
> Now I can connect to the machine through a SSH-client, key exchange
> works well, and I get a login prompt, but I cannot login using my
> username "Administrator" and the password I set using the "rights
> management" in Windows 98. Login is not even possible from localhost.
>
> Relieing to the unuseable rights management in Windows 98, is it even
> possible to use Windows 98 as a SSH server?
>
> Regards
>
> Alfred Egger

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

- Raw text -


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