3. What will happen if you run the command ssh pi@192.168.1.10 on your computer, assuming SSH is enabled on the Raspberry Pi at that IP?
medium
A. The Raspberry Pi will reboot automatically
B. You will connect to the Raspberry Pi's command line remotely
C. You will see the Raspberry Pi's desktop GUI on your computer
D. The command will fail because SSH does not use IP addresses
Solution
Step 1: Understand SSH connection effect
Running ssh pi@192.168.1.10 tries to open a secure shell session to the Raspberry Pi user 'pi' at that IP address.
Step 2: Identify expected result
If SSH is enabled and the IP is correct, you get a command line prompt to control the Pi remotely. It does not reboot or show GUI.
Final Answer:
You will connect to the Raspberry Pi's command line remotely -> Option B
Quick Check:
SSH command opens remote terminal [OK]
Hint: SSH opens remote terminal, not GUI or reboot [OK]
Common Mistakes:
Expecting graphical desktop via SSH
Thinking SSH reboots the device
Believing SSH cannot use IP addresses
4. You try to connect to your Raspberry Pi with ssh pi@192.168.1.10 but get the error: Connection refused. What is the most likely cause?
medium
A. You typed the username incorrectly
B. The Raspberry Pi is out of power
C. The IP address is for a different device
D. SSH is not enabled on the Raspberry Pi
Solution
Step 1: Understand 'Connection refused' error
This error means the Raspberry Pi is reachable but not accepting SSH connections, often because SSH is disabled.
Step 2: Evaluate other options
If the Pi was off, you'd get no response. Wrong username usually prompts for password or denies access, not connection refused. Wrong IP would cause timeout, not refusal.
Final Answer:
SSH is not enabled on the Raspberry Pi -> Option D
Quick Check:
Connection refused = SSH disabled [OK]
Hint: Connection refused means SSH service is off on Pi [OK]
Common Mistakes:
Assuming power off causes connection refused
Confusing username errors with connection refusal
Thinking wrong IP causes refusal instead of timeout
5. You want to securely connect to your Raspberry Pi from outside your home network using SSH. Which step is essential to make this work?
hard
A. Set up port forwarding on your home router to the Pi's IP and port 22
B. Change the Raspberry Pi's username to 'admin'
C. Disable the Raspberry Pi's firewall
D. Connect the Raspberry Pi directly to the internet without a router
Solution
Step 1: Understand remote SSH access outside local network
To access the Pi from outside your home, your router must forward incoming SSH requests (port 22) to the Pi's local IP address.
Step 2: Evaluate options for secure remote access
Changing username or disabling firewall reduces security. Connecting Pi directly to internet is unsafe and usually not possible.
Final Answer:
Set up port forwarding on your home router to the Pi's IP and port 22 -> Option A
Quick Check:
Port forwarding enables external SSH access [OK]
Hint: Port forward router port 22 to Pi for external SSH [OK]
Common Mistakes:
Thinking username change improves remote access
Disabling firewall instead of configuring it
Connecting Pi without router is unsafe and impractical
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.