Sure, it works on Windows. I guess it depends what you expect. SSHD it mostly an implementation of the SSH protocol and at this point it does not aim to behave like the sshd daemon on unix. The goal was mainly to be able to use the SSH protocol to connect to a custom shell. If you want to start a shell on windows, you can try to configure it so that it launches "cmd.exe" instead. FWIW, even on Unix, the integration is not 100% as it would require native code to be able to leverage the unix authentication mechanism ..
On Tue, Aug 11, 2009 at 16:43, Sadhani, Girish (NSN - IN/Bangalore)<[email protected]> wrote: > @Frank : Thanks for the pointer !! > > Has anyone tried using Apache SSHD with Windows ? > > -----Original Message----- > From: ext Frank van der Kleij [mailto:[email protected]] > Sent: Saturday, August 08, 2009 7:29 PM > To: [email protected] > Subject: Re: Help needed with Apache SSHD > > > It might be because your ProcessShellFactory does not look very > windows-like, /bin/sh probably doesn't work on your WindowsXP. > > Frank > >> sshd.setShellFactory(new ProcessShellFactory(new String[] { "/bin/sh", > >> "-i", "-l" })); > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
