begin sftp server support
This commit is contained in:
@ -16,6 +16,7 @@ from sshecret_sshd.commands import dispatch_command
|
||||
|
||||
from sshecret.backend import SshecretBackend, Client, Operation, SubSystem
|
||||
from .settings import ServerSettings, ClientRegistrationSettings
|
||||
from .sftp_server import SshecretFileServer
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
@ -222,6 +223,7 @@ async def run_ssh_server(
|
||||
port,
|
||||
server_host_keys=keys,
|
||||
process_factory=dispatch_command,
|
||||
sftp_factory=SshecretFileServer,
|
||||
)
|
||||
return server
|
||||
|
||||
|
||||
Reference in New Issue
Block a user