delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/18/18:24:27

X-Spam-Check-By: sourceware.org
Message-ID: <1c56360b0707181524g7201f423jc418b132907fdec3@mail.gmail.com>
Date: Thu, 19 Jul 2007 00:24:05 +0200
From: "Alfred Egger" <alfred DOT egger AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Using sshd on Windows 98
MIME-Version: 1.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,

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