As noted on the very sparse documentation for SSHD, it does not aim at
being a drop-in replacement for either the os provided ssh client or
ssh server, nor provide a console.

When using SSHD, you would usually plug an authentication mechanism of
your choice, like jaas, jsecurity.

If you want to use files / ldap, i would suggest to use JAAS and use
an existing login module to provide file or ldap based jaas.
If you are looking for a shell with all kind of commands, you may be
looking for gshell http://cwiki.apache.org/GSHELL/
If you want to use OSGi, i'd look at Karaf (it was named Apache
ServiceMix Kernel until a few days ago) which embeds gshell and sshd
(http://servicemix.apache.org/kernel/).

Actually, if you want to just *use* something, Karaf might be the best choice.

2009/4/27 Carsten Krüger <[email protected]>:
> Hello,
>
> is it easily possible with Apache SSHD to use OS independant users for
> example configured via file or from ldap?
> Is it possible to present to the users a virtual filesystem for sftp?
> A virtual minimal shell would be nice, too.
> For example only:
> ls
> cd
> md
> rd
> mv
> md5sum
> within the virtual filesystem.
>
> greetings
> Carsten
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to