ssh login reports "Could not chdir to home directory /home/root: Bad address"
Ernesto Puig Rodriguez
erodrig@de.ibm.com
Thu Feb 27 19:26:00 GMT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 88080 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140227/c637a372/attachment.obj>
-------------- next part --------------
--
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
More information about the Cygwin
mailing list