Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/sftpserver/stub_sftp.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ def check_auth_password(self, username, password):
# all are allowed
return AUTH_SUCCESSFUL

def check_auth_publickey(self, username, key):
# all are allowed
return AUTH_SUCCESSFUL

def get_allowed_auths(self, username):
return 'password,publickey'

def check_channel_request(self, kind, chanid):
return OPEN_SUCCEEDED

Expand Down