This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ssh login reports "Could not chdir to home directory /home/root: Bad address"
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Feb 2014 18:49:06 -0500
- Subject: Re: ssh login reports "Could not chdir to home directory /home/root: Bad address"
- Authentication-results: sourceware.org; auth=none
- References: <OFC095E870 dot 072141BD-ONC1257C8C dot 005FB4AF-C1257C8C dot 0069178A at de dot ibm dot com>
- Reply-to: cygwin at cygwin dot com
On 2/27/2014 2:07 PM, Ernesto Puig Rodriguez wrote:
When I log in into my Windows Server 2008 R2 using ssh, I get the following
error:
$ ssh root@winsrv2008
root@winsrv2008's password: ********
Could not chdir to home directory /home/root: Bad address
This is independent on whether I log in with the root user who is mapped to
the Administrator in the /etc/passwd or not using another user of the group
Administrators. The sshd daemon is able to log me in and everything seems
fine, but this error is telling me something is wrong in my machine which I
was not able to find till now. I have also re-installed cygwin and upgraded
ssh with the level OpenSSH_6.5p1-1 without success.
What does 'pwd' say after you login? Does '/home/root' exist? If so, what
are the permissions it shows (for each of ls -l, getfacl, cacls)?
Looking at the output of ssh -v -v -v may help. Setting up a sshd service
to run debug and looking at that output will probably be more help.
--
Larry
_____________________________________________________________________
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