-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'sparse submit' should use the user's existing ssh config file #54
Comments
Rather than override this in streamparse's fabric, users can do this right now by modifying a streamparse project's from fabric.api import env
env.use_ssh_config = True
from streamparse.ext.fabric import * Not sure we need to make this change as much as just document that it's available maybe. |
@msukmanowsky Not sure I agree, I think it's probably more common for people to expect their SSH config to be used for this. I actually don't really understand why this setting isn't |
I've added "from fabric.api import env env.use_ssh_config = True" to the fabfile.py, but I get the following error when I ran the "sparse submit" command |
@hadisotudeh see http://unix.stackexchange.com/questions/14160/ssh-tunneling-error-channel-1-open-failed-administratively-prohibited-open and in the future, for SSH errors, try Googling the error first (found this just by Googling "channel 1016: open failed: administratively prohibited: open failed"). |
yes, I've searched before, but the problem didn't solve and I thought maybe this problem is special for streamparse projects. |
I agree with @amontalenti and made this happen by default now. |
This allows sparse to reuse any user configured ssh keys.
This requires the addition of a single line to the streamparse/ext/fabric.py file, to the activate_env function.
The text was updated successfully, but these errors were encountered: