Linux Fundamentals - Enabling Secure Shell (SSH) on the Linux Server

Linux Fundamentals - Enabling Secure Shell (SSH) on the Linux Server

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial explains how to enable and configure SSH on a Linux computer, particularly within a Docker container running Ubuntu. It covers the basics of SSH, including its use for secure remote connections, and details the steps to install the OpenSSH server package. The tutorial also demonstrates how to publish internal ports to external ones for SSH access and how to create a new user for secure SSH connections, emphasizing security measures like avoiding root user access.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the SSH protocol?

To manage file transfers between local and remote systems

To compress data for faster transmission

To encrypt communication between two hosts

To provide a graphical interface for server management

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which port is typically used by SSH for communication?

Port 443

Port 80

Port 22

Port 21

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What Docker option is used to publish an internal port to an external port?

docker run -d

docker run -p

docker run -v

docker run -e

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is the SSH command initially not found in the Ubuntu Docker container?

The SSH service is disabled by default

The container is using a different operating system

SSH is not pre-installed in the Ubuntu image

The container is not connected to the internet

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to install the OpenSSH server on Ubuntu?

apt-get install openssh-server

yum install openssh-server

dnf install openssh-server

pacman -S openssh-server

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a default security measure regarding SSH access for the root user?

Root access is allowed by default

Root access is blocked by default

Root access requires a special key

Root access is only allowed on weekends

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command can be used to create a new user in Linux?

Neither useradd nor adduser

Both useradd and adduser

adduser

useradd