- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Using SCP to Transfer Files Between Systems
In this hands-on lab, we will connect to a primary development system using SSH, and, once connected, will review the proper syntax for the `scp` command using either `man` or `info`. With the proper syntax in mind, we will use `scp` to copy a file from the primary development server to a new secondary development system. The last step of the lab will be to copy an audit file from the remote development system to a directory on the primary system. *This course is not approved or sponsored by Red Hat.*

Lab Info
Table of Contents
-
Challenge
Connect to the Primary Development System
- Collect the IP Address, user account, and password for the primary development system.
- Use this information with the
ssh
command to connect to the system.
-
Challenge
Use man or info to Review the SCP Command Options
- While connected to the primary development system, confirm the proper command syntax for the
scp
command using either theman
orinfo
commands. - The syntax for the commands would be
man scp
orinfo scp
.
- While connected to the primary development system, confirm the proper command syntax for the
-
Challenge
Use SCP to Copy the Local .bashrc to the New Development System
- With the proper syntax in mind, collect the IP Address, user account and password for the new development system.
- Using these credentials and the proper command syntax, use
scp
to copy the.bashrc
file to the/home/cloud_user
directory on the new development system.
-
Challenge
Use SCP to Copy a Remote File to the Local System
- Download the
/home/cloud_user/build/devsys12-account-audit.log
file from the NEW development system to theaudit
directory on the primary development system.
- Download the
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.