maestro-ng icon indicating copy to clipboard operation
maestro-ng copied to clipboard

Support for ssh password?

Open lolski opened this issue 10 years ago • 2 comments

Will it be supported?

lolski avatar Oct 24 '14 06:10 lolski

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.

wt avatar Oct 24 '14 18:10 wt

I understand.

lolski avatar Oct 27 '14 02:10 lolski