RE: RE: scponly for chrooted sftp server in cygwin

2005-02-12 Thread Chad Neufeld
I solved my problem with scponly.  Sftp-server could not find
cygcrypto-0.9.7.dll and cygwin1.dll in the /bin of the chroot directory.  I
placed them in /usr/local/sbin with sftp-server and it works.  :-)

Running scponly 4.0-1 on windows xp with cygwin dll 1.5.12-1

Thanks for the help in setting this up.


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



RE: RE: scponly for chrooted sftp server in cygwin

2005-02-12 Thread Chad Neufeld
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 [EMAIL PROTECTED]
Connecting to ipaddress...
[EMAIL PROTECTED]'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/