You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want the equivalent of running in the terminal ssh -t user@host "less /var/file" which would ssh onto the box, and allow me to interact with less for the given file, when I press q, that exits less, the ssh session should end.
Instead what happens is I get Pseudo-terminal will not be allocated because stdin is not a terminal. and then less just scrolls and doesn't accept input. Is there a workaround for this?
The expectation would be it acts like on the command line, launching less and then continuing once q has been pressed.
The text was updated successfully, but these errors were encountered:
Trying to run an ssh command in zt-exec
I want the equivalent of running in the terminal
ssh -t user@host "less /var/file"
which would ssh onto the box, and allow me to interact with less for the given file, when I press q, that exits less, the ssh session should end.Instead what happens is I get
Pseudo-terminal will not be allocated because stdin is not a terminal.
and then less just scrolls and doesn't accept input. Is there a workaround for this?The expectation would be it acts like on the command line, launching less and then continuing once q has been pressed.
The text was updated successfully, but these errors were encountered: