delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/22/11:19:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <5.0.2.1.0.20010322090900.00b076e0@imap.coe.utah.edu>
X-Sender: jordan AT imap DOT coe DOT utah DOT edu
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Thu, 22 Mar 2001 09:14:39 -0700
To: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>, cygwin AT cygwin DOT com
From: Bret Jordan <jordan AT coe DOT utah DOT edu>
Subject: Re: Does win2000 come with SSH daemon ?
In-Reply-To: <3AB9FBCA.DB397B11@ece.gatech.edu>
References: <3AB211D5 DOT BBDE5510 AT itb DOT biologie DOT hu-berlin DOT de>
<20010316144947 DOT A20900 AT cygbert DOT vinschen DOT de>
<3AB2239D DOT D0949A22 AT ece DOT gatech DOT edu>
<20010316160956 DOT C20900 AT cygbert DOT vinschen DOT de>
<3AB293FE DOT 38D527F7 AT ece DOT gatech DOT edu>
<3AB393C7 DOT 2B05B3C AT ece DOT gatech DOT edu>
<20010319100208 DOT C479 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0

What I have found out about sftpd and things that I have found it won't 
work with out are:

1) You must use bash/sh in the passwd file
2) You must have a primary mount "/"
3) And then the other sshd based config options.  Note: after you set the 
"act as os" and the other two rights you must re-boot your computer.

My problem with sftpd was not using sh in the passwd file and not having a 
primary mount as I would only download the bare minimum to get it to 
run.  So my work around is that I copied cmd.exe to /bin so that sftpd so 
that when I logged in via ssh I can easily get my nt command prompt.

Bret


At 08:19 AM 3/22/2001 -0500, you wrote:
>Corinna Vinschen wrote:
> >
> > > (I didn't type in my passphrases because I know the server on belgarion
> > > will only accept password auth.  I don't know why my client is asking
> > > for them).  sshd_config from the *server* machine and ssh_config from
> > > the *client* machine are attached.
> >
> > Hmm, I'm clueless. ssh shouldn't ask for the passphrases and it
> > doesn't on my box if I set RSAAuthentication to no.
>
>The *servers* sshd_config has RSAAuthentication set to no.  However, the
>*clients* ssh_config has RSAAuthentication set to yes (because I do
>connect to Linux/Solaris sshd's from this client box).  It does seem odd
>that the client would attempt to get my RSA/DSA key *before* asking the
>server if the server will even accept RSA/DSA auth...
>
> > > A debug trace of the server during the attempted sftp connection.  I
> > > don't understand the "Bad RSA1 key file /etc/ssh_host_[rsa|dsa]_key."
> > > messages -- those are RSA2 and/or DSA keys...unless that's the point...
> >
> > That messages are ok. ssh has to identify the type of the key in
> > the key files since there's no hint if a key is RSA1, RSA or DSA.
> > The debug message above only states that sshd couldn't identify
> > the key as RSA1 key so it tries if it's a RSA or DSA key.
>
>Thanks -- that solves one minor mystery....leaving a much larger one:
>still no working sftp-server (for me).  Server running on NT4sp6, latest
>cygwin updates.  Client W2Ksp1.
>
>--Chuck
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bret Jordan                       Dean's Office
LAN Manager              College of Engineering
801.585.3765                 University of Utah
              jordan AT coe DOT utah DOT edu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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