Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon

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.*

Google Cloud Platform icon

Path Info

Clock icon Beginner
Clock icon 30m
Clock icon Dec 04, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. 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.
  2. 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 the man or info commands.
    • The syntax for the commands would be man scp or info scp.
  3. 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.
  4. 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 the audit directory on the primary development system.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans