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
Labs

Working with the SSH Utilities on SUSE Linux Enterprise

In this lab, you'll establish a secure shell connection between two remote systems: the main lab system and a second server. You'll learn how to run commands on those remote systems, how to "drop ship" a command from one system to another and harvest the output locally, and how to copy via the `scp` and `sftp` commands. Additionally, we'll show how to ensure you can send and receive files and directories into the proper locations, either putting files from system1 to system2 or pulling files from system1 from system2.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Published
Clock icon Dec 20, 2019

Contact sales

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

Table of Contents

  1. Challenge

    Establish a Secure Shell Connection Between Two SUSE Linux Enterprise Servers

    1. Use the ssh command and lab-specific system information to establish an SSH client session between your main lab system and a second lab system.
    2. Run commands on the remote system just as if you were on the console.
    3. Disconnect and run ssh commands in "hands-off" mode on the second system without actually creating a shell session, just dropping the command off and getting output on your first system.

    SSH from Server1 to Server2

    ssh [email protected]

  2. Challenge

    Send and Receive Files and Directories Between Two SUSE Linux Enterprise Servers via `scp` and `sftp`

    1. Use the scp command to send and receive files between two servers, either pushing from the main system to the secondary, or being signed on the secondary and pulling the files to that system.
    2. Use the sftp command to establish a secure FTP session between the two systems and both send and receive files and directories between the systems, along with some interesting options.
  3. Challenge

    Automate the Keyscanning of Other Hosts, Reporting Any Mismatches

    1. View your system's known_hosts initial state, then keyscan another system, and redirect that information to a master file for future reference.
    2. Connect to the remote system via SSH and view the changes that occur in your known_hosts file locally.
    3. Build an automated keyscanning setup that will scan a list of hosts for the proper key information, sort and make unique that info, and compare it against the known good master list, reporting any mismatches.

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