- changed status to resolved
Allow SSH class to be used with 'with' statements
Issue #3
resolved
Add the enter and exit functions to the SSH class to allow it to be used with Python's 'with' statement.
I totally want this:
with SSH('localhost', username='jdoe', password='jdoe') as s:
s.ssh_command('uptime')
Comments (2)
-
reporter -
reporter - removed version
Removing version: v3.0 (automated comment)
- Log in to comment
Added in commit f54ac3d
Will be published in v3.0.1