delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/24/13:10:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_27
X-Spam-Check-By: sourceware.org
Message-ID: <725099.51135.qm@web33503.mail.mud.yahoo.com>
References: <32517 DOT 57262 DOT qm AT web33505 DOT mail DOT mud DOT yahoo DOT com> <4ABA9468 DOT 6060408 AT cygwin DOT com> <32405 DOT 5122 DOT qm AT web33504 DOT mail DOT mud DOT yahoo DOT com> <4ABA99A9 DOT 6080103 AT cygwin DOT com> <510384 DOT 1152 DOT qm AT web33508 DOT mail DOT mud DOT yahoo DOT com> <4ABAD5CB DOT 1020208 AT cygwin DOT com> <140340 DOT 33560 DOT qm AT web33502 DOT mail DOT mud DOT yahoo DOT com> <4ABB9291 DOT 2090501 AT cygwin DOT com>
Date: Thu, 24 Sep 2009 10:07:55 -0700 (PDT)
From: Dave M <dindenver AT yahoo DOT com>
Subject: Re: sftp on a Windows 2003 server
To: cygwin AT cygwin DOT com
In-Reply-To: <4ABB9291.2090501@cygwin.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Larry,
  I installed the beeta version (scarey), and I can ssh into localhost.

  Um, the question is, is there a way to test sftp, and is there a guide for configuring public key authentication for sftp?
  I am going to try and figure out what files are relevant to my need and read them, but if you could point my in the right direction, I would be greatly appreciative.
Dave M



----- Original Message ----
Sent: Thursday, September 24, 2009 9:38:57 AM
Subject: Re: sftp on a Windows 2003 server

On 09/24/2009 10:22 AM, Dave M wrote:
> $ ssh-host-config
> *** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
> *** Info: Creating default /etc/ssh_config file
> *** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
> *** Info: Creating default /etc/sshd_config file
> *** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
> *** Info: However, this requires a non-privileged account called 'sshd'.
> *** Info: For more info on privilege separation read /usr/share/doc/openssh/READ
> ME.privsep.
> *** Query: Should privilege separation be used? (yes/no) yes
> *** Warning: The permissions on the directory /var are not correct.
> *** Warning: They must match the regexp d..x..x..[xt]
> *** ERROR: Problem with /var directory. Exiting.

Do you have a local administrator you could log in as instead of your domain
user?  My guess is that your domain user is at least part of all these permission
problems.  If you don't have a local domain user, perhaps it makes sense to
get your user and group represented in the '/etc/passwd' and '/etc/group' files
instead.  Alternatively, you may find a 1.7 install smooths over some of these
difficulties as well, as Julio mentioned.

-- Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:      http://cygwin.com/problems.html
FAQ:                  http://cygwin.com/faq/
Documentation:        http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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