j.ssh.server.SSH
- /opt/jumpscale7/lib/JumpScale/lib/ssh/server/manager.py
Methods
def addKey
arguments
Add pubkey to authorized_keys
def commit
arguments
Apply all pending changes to authorized_keys
def deleteKey
arguments
Delete pubkey from authorized_keys
def disableNonKeyAccess
arguments
Disable passowrd login to server. This action doens't require
calling to commit and applies immediately. So if you added your key
make sure to commit it before you call this method.
def erase
arguments
Erase all keys from authorized_keys