There's no integration between FtpServer and Sshd, so you can't reuse the user manager in SSHD. SSHD supports max-concurrent-sessions (max number of sshd connections per username) and idle-timeout settings though. IP filtering may be implemented using a SessionListener. The other ones would have to be implemented somehow... However, those are global settings and not available per user at the moment.
2014-06-26 11:27 GMT+02:00 Stefan Mueller <[email protected]>: > I want to set up a server for SFTP with code. I found some examples and > code > snippets to start but I still have some problems. > > The user manager from FtpServer is reused in my project. How can I use the > Maximum Connection, Maximum Connection Per IP, Maximum Idle Time, Speed > Limit (Up and Down) and an IP Filter? > I want to do this for each user and on the server. > > Or as a general question: What settings are possible to use and how do I > use > them in the code? I am only looking for SFTP. Everything else (like shell) > is not needed. > > > > -- > View this message in context: > http://apache-mina.10907.n7.nabble.com/SSHD-Server-Settings-tp42548.html > Sent from the Apache MINA User Forum mailing list archive at Nabble.com. >
