Book Image

Penetration Testing with Raspberry PI

Book Image

Penetration Testing with Raspberry PI

Overview of this book

Table of Contents (14 chapters)
Penetration Testing with Raspberry Pi
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Disclaimer
Preface
Index

Setting up the SSH service


The Secure Shell (SSH) gives you full access to the Kali Linux operating system on a Raspberry Pi from a remote location. It is the most common way to manage Linux systems using a command line. Since the Kali Linux GUI is not needed for most penetration testing exercises, we recommend that you use SSH or command-line utilities whenever possible. We found some installations of Kali Linux have SSH enabled while others may need you to install the OpenSSH server.

You should first verify whether the SSH service is installed. Type in the service --status-all command to check whether the SSH service is running. If you see + as shown in the following screenshot, you are good to go. If you see a - sign, then you will need to install the OpenSSH server.

To install the OpenSSH server, open a command-line terminal and type apt-get install openssh-server to install the SSH services. You will need to start the SSH services by issuing the service ssh start command as shown in the...