Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Philip Flip Kromer Newsgroups: gmane.os.cygwin Subject: Re: Possible Workaround - SSH/SSHD: could not chdir to home directory: No such file or directory Date: Fri, 05 Apr 2002 03:45:37 -0600 Organization: UT-Austin CNLD Lines: 48 Message-ID: <3CAD7241.9010509@mrflip.com> References: <3CAD59F0 DOT 6070809 AT mrflip DOT com> <20020405112517 DOT K1475 AT cygbert DOT vinschen DOT de> Reply-To: flip AT mrflip DOT com NNTP-Posting-Host: tick.ph.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1017999944 5185 128.83.156.199 (5 Apr 2002 09:45:44 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Fri, 5 Apr 2002 09:45:44 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en No, /h is a local FAT32 drive. I also tried creating c:\foouser and changing (in /etc/passwd) my home directory to /c/foouser , so that I could check whether it was unhappy about changing drives. If you have pointers to more information or discussions on this error please let me know. I have this difficulty on both my home and work machines (win2K and WinXP). flip Corinna Vinschen wrote: > Sure has this been discussed. Is /h a remote drive? If so, > SYSTEM isn't able to access it. > > Corinna > > On Fri, Apr 05, 2002 at 02:01:52AM -0600, Philip Flip Kromer wrote: > >>Hello, >> >>I followed the recipe for setting up sshd under cygwin at >> http://tech.erdelynet.com/cygwin-sshd.asp >> >>Everything worked swimmingly, except.. >> tick:~$ ssh me AT localhost >> me AT localhost's password: >> Fanfare!!! >> You are successfully logged in to this server!!! >> Could not chdir to home directory /h/me: No such file or directory >> >>..for the error message about not being able to find the home directory. >>sshd would still log me in, and would still set me in my home directory >>(which does exist). The only problem (besides just annoyance) is that >>it also would not find my ~/.ssh to do RSA authentication with. >> >>Some other people have reported this error; see >> http://www.cygwin.com/ml/cygwin/1999-09/msg00276.html >> http://www.cygwin.com/ml/cygwin/2000-09/msg00032.html >> http://www.cygwin.com/ml/cygwin/2000-10/msg00758.html >> http://www.cygwin.com/ml/cygwin/2000-11/msg01274.html >> >>Nobody seems to have posted a fix or reason for the error; but if I run >>sshd under my account, rather than the SYSTEM account, it finds the home >>directories and RSA authentication works. > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/