delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/11/17:39:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-Id: <200502112239.j1BMdBB8028026@pilsener.srv.ualberta.ca>
From: "Chad Neufeld" <neufeld AT ualberta DOT ca>
To: <cygwin AT cygwin DOT com>
Subject: RE: RE: scponly for chrooted sftp server in cygwin
Date: Fri, 11 Feb 2005 15:39:13 -0700
MIME-Version: 1.0
In-Reply-To:

Once again, thanks for the help Christian.

I am now able to login to the sftp server but the connection seems to hang.

This is what I login with:
	$ sftp chrtest AT ipaddress
	Connecting to ipaddress...
	chrtest AT ipaddress's password: 


And then nothing.  It just sits until I cancel the connection.  However, on
the server machine scponlyc.exe and sftp-server.exe startup and are shown as
active processes.  

I am attemptin to chroot the user to the base directory / to make sure
scponlyc is working.  I have the following line in /etc/passwd

	chrtest:unused_by_nt/2000/xp:107:545:chrtest,U-PINOCCHIO
\chrtest,S-1-5-21-1482476501-261478967-725345543-1007:/:/usr/local/sbin/scpo
nlyc

I couldn't find anything on scponly hanging at this point.

Chad


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