Permalink
Browse files

Make username optional. Close GitHub issue #4

  • Loading branch information...
1 parent b786a2d commit 9f9cbaaa1232085f5136c3eb62809e1e6b545365 @mwilliamson committed Mar 18, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 spur/ssh.py
View
@@ -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
@@ -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,

0 comments on commit 9f9cbaa

Please sign in to comment.