maestro-ng
maestro-ng copied to clipboard
Support for ssh password?
Will it be supported?
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.
I understand.