MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / __init__

Method __init__

keepercommander/plugins/ssh/ssh.py:29–35  ·  view source on GitHub ↗
(self, host, login, password, port=22, **kwargs)

Source from the content-addressed store, hash-verified

27
28class Rotator:
29 def __init__(self, host, login, password, port=22, **kwargs):
30 self.host = host
31 self.login = login
32 self.password = password
33 self.port = port
34 # These characters don't work for Windows ssh password rotation
35 self.disallow_special_characters = DISALLOW_WINDOWS_SPECIAL_CHARACTERS
36
37 def rotate(self, record, new_password):
38 """Change a password over SSH"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected