delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/23/13:27:36

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: <4ABA5A09.4020400@cygwin.com>
Date: Wed, 23 Sep 2009 13:25:29 -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: Fw: Permission denied (publickey,password,keyboard-interactive).
References: <1253654636 DOT 345 DOT ezmlm AT cygwin DOT com> <583331 DOT 35165 DOT qm AT web33505 DOT mail DOT mud DOT yahoo DOT com> <4AB96384 DOT 3080802 AT gmail DOT com> <361230 DOT 45413 DOT qm AT web33508 DOT mail DOT mud DOT yahoo DOT com> <4ABA3EB8 DOT 40505 AT cygwin DOT com> <59370 DOT 4900 DOT qm AT web33501 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <59370.4900.qm@web33501.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

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

On 09/23/2009 12:56 PM, Dave M wrote:
> Larry,
> I started with the just running the script and it didn't work. I have
> only  been trying chmod and the other stuff in my previous post since then.
> Will I get more help if I uninstall everything and try it again? I am
> just  trying to get sftp to work.
> I'll run
> mkpasswd -d je28004 AT tjanus DOT cap>> /etc/passwd je28004 AT tjanus DOT cap
> is the domain account I am signed on with. But the issue I am having is
> logging into ssh with a local account (test),  not je28004.

You have the wrong syntax for the '-d' flag.
See <http://cygwin.com/cygwin-ug-net/using-utils.html#mkpasswd> or 'mkpasswd 
--help'.
But if you aren't trying to log in with a domain user, then it's not 
important that you
add the domain accounts at this time.

> And I will change the owner of /var/empty to sshd_server which is the
> local account that the sshd service uses. I have separated privileges turned
> on and in the readme it looked like it wanted the Owner to be SYSTEM.
> Thanks for your help, any guidance will be appreciated. I have tried all
> the stuff I know how to do so I am boned unless someone can help me.
> SFTP is the only way I can back up this device and the project I am
> working on is at a complete standstill until I can get a backup solution in
> place. Any time spent helping me is enormously appreciated.

Given where you started from, it may be more direct for you to remove your
Cygwin installation (see the FAQ for details) and reinstall.  Configuring 'sshd'
would likely be quicker and easier in the new installation using 
'ssh-host-config'
and 'ssh-user-config' than hunting down all the wrong settings and correcting
them, assuming that's your problem.  But yes, it's really impractical for the
Cygwin list to support any and all sites out there with information about Cygwin
packages so if you're having a problem with configuration steps outlined from
someone else's site, your best bet for help related to that information is to
contact them about it.

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