Bash Shell Scripting- Providing password for ssh using sshpass utility

Bash Shell Scripting- Providing password for ssh using sshpass utility

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial introduces SSH Pass, a utility for non-interactive SSH password authentication. It explains how SSH Pass can automate command execution on remote servers by providing passwords without user interaction. The tutorial covers various SSH Pass options, including storing passwords in files or environment variables. It also provides a step-by-step guide to installing SSH Pass on Unix/Linux systems using Yum. The video concludes with a summary and encourages further practice.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary function of SSH Pass?

To monitor SSH traffic

To manage SSH keys

To provide non-interactive SSH password authentication

To encrypt SSH connections

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you avoid entering your password multiple times when running multiple SSH commands?

By using SSH keys

By using SSH Pass

By using a VPN

By using a firewall

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option allows you to store your SSH password in a file when using SSH Pass?

-P

-p

-F

-f

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you do if SSH Pass is not available by default on your Unix/Linux system?

Contact the system administrator

Reboot the system

Install it using Yum or a similar package manager

Use a different SSH client

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to install SSH Pass on a system with root privileges?

dnf install sshpass

brew install sshpass

yum install sshpass

apt-get install sshpass

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the EPEL repository in the context of installing SSH Pass?

To monitor network traffic

To enhance SSH security

To provide additional software packages for enterprise Linux

To manage SSH keys

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After installing SSH Pass, how can you verify its presence on the system?

By contacting the system administrator

By checking the system logs

By running the command 'sshpass -V'

By rebooting the system