X-Spam-Check-By: sourceware.org Message-ID: <461FBCFE.1090008@berndtgroup.net> Date: Fri, 13 Apr 2007 13:25:18 -0400 From: Florian Mosleh User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: public key authentication headache issue/solution documentation Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hello, I've just resolved an issue I had with public key authentication for ssh in cygwyn. I needed to automate an rsync pull from a box running cygwyn. The client is an antiquated redhat system. I was unable to successfully execute remote commands after authenticating with a keypair. I was finally able to resolve the issue by running the sshd service as the user used for authenticating the ssh session and chowning various ssh related files to the user (notably /var/log/sshd.log). I'd like to recommend more documentation on this issue. It had a relatively simple fix which, nonetheless, eluded me for several days. If you have an alternate recommendation that better conforms to best practices, please let me know. The ssh-host-config script spews various useful bits of knowledge. Something along the lines of "For possible issues with public key authentication please see " might be nice. Cheers. -- Florian Mosleh Network and Systems Administrator ______________________ Always Thinking. The Berndt Group www.berndtgroup.net 3618 Falls Road, Suite 300 Baltimore, Maryland. 21211 email: florian DOT mosleh AT berndtgroup DOT net phone: 410-889-5854 ex. 18 fax: 410-889-5904 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/