This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ssh login reports "Could not chdir to home directory /home/root: Bad address"



Hi,

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.

Some other people have also reported similar issue, but I did not find both
issues "could not chdir" and "bad address" at the same time. I was not able
to find a clear reason and solution for this problem. Trying to mount / as
recommended with mount -c -s / is not applicable as the option -s seems to
be not supported anymore. The keyword cygdrive is not presented in my
Windows registry at all.

$ id
uid=500(root) gid=513(None) groups=513(None),544(Administrators),545(Users)
$ uname -a
CYGWIN_NT-6.1 dogan 1.7.28(0.271/5/3) 2014-02-09 21:06 x86_64 Cygwin
$ ssh -V
OpenSSH_6.5p1, OpenSSL 1.0.1f 6 Jan 2014

Attached is the output of cygcheck -s -v -r.
I am also wondering if the warnings generated by cygcheck "cygwin couldn't
compute fast_cwd pointer" are related to the title issue.

(See attached file: cygcheck.out)

Thanks in advance for any hints.

Mit freundlichen Grüßen/Kind regards/Atentamente

Ernesto Puig Rodriguez

Software Engineer: Tivoli Storage FlashCopy Manager
IBM Software Group, Tivoli
3848
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
 Phone:            +49-7031-16-4965               IBM Deutschland      
                                                                       
 E-Mail:           erodrig@de.ibm.com             Schoenaicher Str. 220
                                                                       
                                                  71032 Boeblingen     
                                                                       
                                                  Germany              
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
 IBM Deutschland                                                       
 Research &                                                            
 Development                                                           
 GmbH /                                                                
 Vorsitzende des                                                       
 Aufsichtsrats:                                                        
 Martina Koederitz                                                     
 Geschäftsführung:                                                 
 Dirk Wittkopp                                                         
 Sitz der                                                              
 Gesellschaft:                                                         
 Böblingen /                                                         
 Registergericht:                                                      
 Amtsgericht                                                           
 Stuttgart, HRB                                                        
 243294                                                                
                                                                       

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]