make the key an optional argument

useful for when relying on ssh-agent
arg order
Merge pull request #841 from edx/jarv/key-optional

Jarv/key optional