Open Ardakilic opened 10 years ago
Glue is limited in its capabilities in that it provides a non-interactive connection to your shell. When the local process returns, the data stream is disconnected and can no longer be used to provide data to the standard in stream for your ssh executable. My guess is that it hangs because the remote server is requesting authentication that you can't provide and the ssh client hangs. I am going to need to implement an interactive loop in the Glue code to support something like this.
I will keep this open as a feature request and see what I can pull together. Will update in this thread with any progress.
This is now in my nightstand queue: paramiko fabric Twisted Conch Simplest way to SSH with Python SO Python subprocess multiple shell commands SO
Hi Chris,
Many thanks for a great plugin. Just curious -- will the interactional element you mention be general across all commands? For example if I have a long compilation process that I start from the glue command line, I like to be able to see its output as it progresses rather than waiting until the end.
Should I create a separate issue for this? Many thanks, Ben.
That is the goal but haven't come across a good solution as of yet. This is a highly requested feature but there are significant limitations that result from working inside another application (ST). Will let you know. Thanks for the comment and for giving the extension a shot. -C
Hello,
Firstly, thank you so much for maintaining this plugin, it's much appreciated.
I've an issue, hope you can help me.
I'm using glue along with Ubuntu 14.04 LTS + ST3.
I want to SSH and keep on using glue while SSH'ed, but after SSHing, when I run a command, it just acts like I've never SSH'd.
Is there a method to keep on SSH'ed ? because I mount the remote folder from my server using sshfs and I need to be SSH'ed to run some project-based commands.
It gives me this error:
Pseudo-terminal will not be allocated because stdin is not a terminal
Edit: I've tried to add
-t -t
as described here, then glue gives merunning command.....
and hangs like that.Thanks in advance,