X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <59370.4900.qm@web33501.mail.mud.yahoo.com> 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> Date: Wed, 23 Sep 2009 09:56:27 -0700 (PDT) From: Dave M Subject: Re: Fw: Permission denied (publickey,password,keyboard-interactive). To: cygwin AT cygwin DOT com In-Reply-To: <4ABA3EB8.40505@cygwin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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. 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. Dave M ----- Original Message ---- From: Larry Hall (Cygwin) To: cygwin AT cygwin DOT com Sent: Wednesday, September 23, 2009 9:28:56 AM Subject: Re: Fw: Permission denied (publickey,password,keyboard-interactive). On 09/23/2009 11:01 AM, Dave M wrote: > Dave, > > I checked that readme file. Um, I am not sure what it is telling me, it > is not really laid out step by step. I think it would be more useful if I read > it from the bottom to the top. But still, I THINK I did everything it > suggested. I had run ssh-host-config before, today I ran ssh-user-config and > made SYSTEM the owner of /var/empty and checked the permissions on the > sshd_server account (the host-config script had set them correctly, I didn't > have to do anything to the account privileges). SYSTEM is the proper owner for XP and W2K. For later WIndows versions, it's cyg_server. See ssh-host-config and related scripts for all the details. Since it's not possible to know what you've done in the process of playing around with this, you'll need to manually check all the permissions and ownerships of files mentioned in the scripts to make sure they are set as they are supposed to be. This is why using the scripts is highly recommended. It's allot less work and error-prone. ;-) > Also, every time I log in to the bash shell, I get this: > Your group is currently "mkgroup". This indicates that > the /etc/group (and possibly /etc/passwd) files should be rebuilt. > See the man pages for mkpasswd and mkgroup then, for example, run > mkpasswd -l [-d]> /etc/passwd > mkgroup -l [-d]> /etc/group > Note that the -d switch is necessary for domain users. > I have run: > mkpasswd -l> /etc/passwd > mkgroup -l> /etc/group > Both successfully (in that order) and the contents of those files "look" > right, but I still keep getting that message. I don't know if this is > related or not. Since your user is a domain user, you need to use the '-d' flag indicated above in both commands. -- 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