sshd and /usr/bin/zsh

Martin Vetter Martin.Vetter@ilink.de
Mon Jun 20 13:09:00 GMT 2005


hi,

> I just upgraded cygwin and now
> I cannot login to the machine via ssh unless
> I change /etc/passwd to use /bin/bash for my shell.

same here after a cygwin update (windows 2000, cygwin 1.5.17):

-  zsh as login shell for non-administrator = login via sshd hangs (!)
- bash as login shell for non-administrator = login via sshd works fine
-  zsh as login shell for the administrator = login via sshd works fine

workaround:
use cygwin1.dll release 1.5.14,
.{15,16,17} won't work ...

- stop cygwin sshd and all other cygwin-related processes
- locate cygwin-1.5.14-1.tar.bz2 via google
- extract usr/bin/cygwin1.dll from cygwin-1.5.14-1.tar.bz2
- backup /usr/bin/cygwin1.dll (!), then
- replace /usr/bin/cygwin1.dll in the cygwin installation tree
- start cygwin sshd
- voila, zsh works as login shell again :o)

hope this helps. regards,

martin


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



More information about the Cygwin mailing list