Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make username optional. Close GitHub issue #4

  • Loading branch information...
commit 9f9cbaaa1232085f5136c3eb62809e1e6b545365 1 parent b786a2d
@mwilliamson authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  README.md
  2. +1 −1  spur/ssh.py
View
2  README.md
@@ -38,7 +38,7 @@ spur.LocalShell()
### SshShell
-Requires a hostname and a username. Also requires some combination of a password
+Requires a hostname. Also requires some combination of a username, password
and private key, as necessary to authenticate:
```python
View
2  spur/ssh.py
@@ -38,7 +38,7 @@ class MissingHostKey(object):
class SshShell(object):
def __init__(self,
hostname,
- username,
+ username=None,
password=None,
port=22,
private_key_file=None,
Please sign in to comment.
Something went wrong with that request. Please try again.