delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/24/14:09:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <528943.9866.qm@web33504.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> <782781 DOT 34739 DOT qm AT web33501 DOT mail DOT mud DOT yahoo DOT com> <f60fe000909241010l4aa6d877kaad5b3464851da1c AT mail DOT gmail DOT com>
Date: Thu, 24 Sep 2009 11:08:43 -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: <f60fe000909241010l4aa6d877kaad5b3464851da1c@mail.gmail.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

Mark,
  Well, the good news is, I got ssh-host-config to work!
  The bad news is, I don't know what to do next. I am looking at readme files and what not, but if you know where the instructions are on how to setup public key authentication on an sftp server, please feel free to point me in the right direction. The server that will be sending its backup data to the sftp server wants the following info (in a web form):
Server Name:    
Server Port:    
Server Path:    
User Name:    
Key:   
Key Password:
(optional)
  Do I have to be logged in as the Username I generate the key for and then run the shell and type ssh-user-config or?
  Key is a text box, I assume after I figure out which key file it is using, I willopen it and copy the contents into this web form, no?
  Thanks for all your help guys, I feel like I am really close.
Dave M



----- Original Message ----
Sent: Thursday, September 24, 2009 11:10:48 AM
Subject: Re: sftp on a Windows 2003 server

On Thu, Sep 24, 2009 at 12:27 PM, Dave M  wrote:
> *** 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.
>
> Test AT S-EXSYSLOG01 ~
> $ ls -l /var

That shows the permissions on the files *inside* of /var, not /var
itself.  Add  the -d option to ls (ls -ld /var) to see the permissions
on /var itself.

But chances are it's like /var/cache, /var/lib, /var/run, and /var/tmp
in your output, which have no "other" access at all, when they need at
least execute.

/var/empty, which you mentioned, already has the right permissions, as
does /var/log.  Very odd.

-- 
Mark J. Reed <markjreed AT gmail DOT com>

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