Source code for platypush.message.response.ssh

from platypush.message.response import Response


[docs]class SSHResponse(Response):
[docs] def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs)
[docs]class SSHKeygenResponse(SSHResponse):
[docs] def __init__(self, fingerprint: str, key_file: str, pub_key_file: str, *args, **kwargs): super().__init__(*args, output={ 'fingerprint': fingerprint, 'key_file': key_file, 'pub_key_file': pub_key_file, }, **kwargs)
# vim:sw=4:ts=4:et: