delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/15/05:09:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3F8D0E9F.1662D14D@doe.carleton.ca>
Date: Wed, 15 Oct 2003 05:08:47 -0400
From: Fred Ma <fma AT doe DOT carleton DOT ca>
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: sshd only allows connection to local accounts

Hello,

I followed the procedure of setting up sshd:
http://pigtail.net/LRP/printsrv/cygwin-sshd.html

I launch the sshd with an account that is part of
the administrator group (WinXP).  One peculiarity
about this account is that it is not a local
account i.e. when I log into Windows, I specify a domain
name other than the name of the local PC.

In order for sshd to respond to connection requests,
I did "mkpasswd -l > /etc/passwd".  This did not
allow me to connect to sshd from outside, since
"mkpasswd -l" only generates entries for local users.

Therefore, I used "mkpasswd -d", grepped my User ID
from the output, then appended it to /etc/passwd.
This didn't fix the problem.

To check that sshd allowed connections to local user
accounts, I created a local user account "Test" and
successfully connected to it via sshd from outside.

What more is required to allow ssh connections to
nonlocal user accounts?  I only have control over
the local PC.  Even here, I don't have absolute
control; for example, I can't login as "administrator",
but I can login to an account that is part of the
administrators group.

Thanks.

Fred
-- 
Fred Ma, fma AT doe DOT carleton DOT ca
Carleton University, Dept. of Electronics
1125 Colonel By Drive, Ottawa, Ontario
Canada, K1S 5B6

--
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