Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Question
In linux, execute the interactive command top on remote host new-jenkins-1 (assuming access to new-jenkins-1 is properly configured in ssh config file)
Answer
ssh -t new-jenkins-1 'top'
^^ note the use of single quotes to enclose the top command in
^^ note the use of the -t flag to indicate the top command requires interaction from user

Question
In linux, execute the interactive command top on remote host new-jenkins-1 (assuming access to new-jenkins-1 is properly configured in ssh config file)
Answer
?

Question
In linux, execute the interactive command top on remote host new-jenkins-1 (assuming access to new-jenkins-1 is properly configured in ssh config file)
Answer
ssh -t new-jenkins-1 'top'
^^ note the use of single quotes to enclose the top command in
^^ note the use of the -t flag to indicate the top command requires interaction from user
If you want to change selection, open document below and click on "Move attachment"

Send Remote Commands Via SSH — Malcontent Comics Incorporated Presents:
nds: ssh systemsboy@rhost.systemsboy.edu 'ls -l; ps -aux; whoami' wherein each command is separated by a semicolon. Finally, here is an example sending a command that requires user interaction: <span>ssh -t systemsboy@rhost.systemsboy.edu 'top' Note the -t flag. That tells ssh that you'll be interacting with remote shell. Without the -t flag top will return results after which ssh will log

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill


Discussion

Do you want to join discussion? Click here to log in or create user.