0
0
Raspberry Piprogramming~5 mins

Remote access with SSH in Raspberry Pi - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does SSH stand for and what is its main purpose?
SSH stands for Secure Shell. It is used to securely connect to another computer over a network, allowing you to control it remotely.
Click to reveal answer
beginner
Which command do you use on your computer to connect to a Raspberry Pi via SSH?
You use the command ssh username@ip_address, where username is the Raspberry Pi user and ip_address is its network address.
Click to reveal answer
beginner
Why is it important to change the default password on your Raspberry Pi before using SSH?
Changing the default password helps protect your Raspberry Pi from unauthorized access, since SSH allows remote control and the default password is widely known.
Click to reveal answer
intermediate
What is the role of the SSH key pair in remote access?
An SSH key pair consists of a private key (kept secret) and a public key (shared with the Raspberry Pi). It allows secure login without typing a password each time.
Click to reveal answer
beginner
How can you find the IP address of your Raspberry Pi on your local network?
You can use the command hostname -I on the Raspberry Pi or check your router's connected devices list to find its IP address.
Click to reveal answer
What is the default port number used by SSH?
A22
B80
C443
D21
Which of these commands initiates an SSH connection to a Raspberry Pi with IP 192.168.1.10 and username 'pi'?
Assh 192.168.1.10 pi
Bconnect pi 192.168.1.10
Cssh pi@192.168.1.10
Dremote pi@192.168.1.10
Why should you avoid using the default 'pi' user password when using SSH?
AIt is slow to type
BIt causes connection errors
CIt disables SSH
DIt is well-known and can be a security risk
What does the command ssh-keygen do?
AConnects to a remote SSH server
BGenerates a new SSH key pair
CChanges the SSH port
DLists connected SSH clients
If you cannot connect to your Raspberry Pi via SSH, what is a common first step to troubleshoot?
ACheck if SSH is enabled on the Raspberry Pi
BRestart your computer
CChange your computer's IP address
DUnplug the Raspberry Pi
Explain how you would securely connect to a Raspberry Pi using SSH from your computer.
Think about the command you type and what needs to be set up on the Raspberry Pi.
You got /4 concepts.
    Describe the benefits of using SSH key pairs instead of passwords for remote access.
    Consider how keys improve safety and convenience.
    You got /4 concepts.