Displaying 1 result from an estimated 1 matches for "command_output".
2006 Mar 08
3
Run command via SSH session displaying results via AJAX
..., command, username and
password.
2) User clicks "Run" and form is submitted to the "run_command" action.
3) The "run_command" action initiates an SSH session using net-ssh and
registers callbacks with the SSH session to append any command output to
the web session[:command_output]. Thus, session[:command_output] grows
until all results (stdout and stderr) are accumulated.
4) The "run_command" redirects to the results page which then renders
the web session[:command_output] which is viewed by the user.
This is working fine, but what I really want to do is alter...