Question: Edit your newly created script file to store the following information from the servera and serverb machines on the workstation machine. The systems use SSH
Edit your newly created script file to store the following information from the servera and serverb machines on the workstation machine. The systems use
SSH keys for authentication, and therefore you do not require a password. Store the output of the listed commands from the following table in the
homestudentoutputservera and homestudentoutputserverb files respectively on the workstation machine. Use the hash sign # for differentiating the
output of the successive commands in the output file.
Save the required information to the outputservera and outputserverb files in the homestudent directory on workstation.
Note
You can use the sudo command without requiring a password on the servera and serverb hosts. Remember to use a loop to simplify your script.
You can also use multiple grep commands that are concatenated with the use of
the pipe character
how do i edit newly created scriot file to store this information in servera and serverb in terminal?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
