Skip to content
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

Support for ssh password? #87

Open
lolski opened this issue Oct 24, 2014 · 2 comments
Open

Support for ssh password? #87

lolski opened this issue Oct 24, 2014 · 2 comments

Comments

@lolski
Copy link

lolski commented Oct 24, 2014

Will it be supported?

@wt
Copy link

wt commented Oct 24, 2014

I am not the author, so I don't know for sure.

However, the underlying bgtunnel library does not support passwords and it uses the ssh binary for it's implementation. The openssh version goes out of it's way to make entering a password without using the keyboard quite a bit more difficult.

As a result, it might take a while the plumb through the support for this. If you want to stick with bgtunnel, I think you have to make bgtunnel allocate a new pty and supply the password in a similar manner to pexpect. I guess bgtunnel could be changed to use pexpect instead of subprocess.

Alternatively, the port forwarding could be reimplemented via paramiko. Paramiko would allow the specification of a password relatively easily. Presumably, that support could either be integrated into bgtunnel or maestro itself.

@lolski
Copy link
Author

lolski commented Oct 27, 2014

I understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants