One, to create a Bash script, can filter and obtain relevant information from different hosts and student user identity and use student as password login workstation, the workstation, run the lab console - review start command, this command will run a start script, which will determine the workstation, servera and serverb whether the computer can be accessed from the network, if is not available, the script will remind you, in addition, it also will be installed vim - enhanced and util - Linux software package (if necessary), configure sudo, and prepared on servera and serverb/var/log/secure content,
1. On the workstation to create/home/student/bin/bash - lab script file,
2. Edit the newly created script file, make it meet the requirements of the servera and serverb host by the following information, the system has been configured to use SSH keys to authenticate, do not need to provide a password, will need the information guarantee deposit to the new article/home/student/output - servera and/home/student/output - serverb,
(figure below)
3. Perform/home/student/bin/bash - lab scripts, and then view the output the contents on the workstation,