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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4ABBABE2.6040900@cygwin.com>
Date: Thu, 24 Sep 2009 13:26:58 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: sftp on a Windows 2003 server
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> <725099 DOT 51135 DOT qm AT web33503 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <725099.51135.qm@web33503.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 09/24/2009 01:07 PM, Dave M wrote:
> Larry,
> I installed the beeta version (scarey), and I can ssh into localhost.

Good!  That's a step forward at least.

Beta isn't as scary as you might think.  It's pretty close to what will be
released (soonish).

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

You need to run 'ssh-user-config' for the user you plan to ssh/sftp in as.
This will create the keys you need.  You should then be able to ssh
into localhost using pubkey.  To do this from other machines requires
your public key in the remote machines ~/.ssh/authorized_keys.  Then
you should be able to pubkey ssh into your host from the remote
machine.  After that, you can try sftp.  Those are the high-level steps.

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

- Raw text -


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