- Lab
- A Cloud Guru
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.*
Path 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
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.