mirror of
https://github.com/damp11113/PyserSSH.git
synced 2025-04-28 06:58:12 +00:00
Updated Event Handles (markdown)
parent
a35aaf44ed
commit
0f39eee9a3
@ -4,8 +4,9 @@ To handle the event can use `on_user()` decorator
|
||||
ssh = Server()
|
||||
|
||||
@ssh.on_user("...")
|
||||
def ...(channel, data, client):
|
||||
def ...(...output...):
|
||||
...
|
||||
return ..return..
|
||||
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user